Support Knowledge Base

MySQL server has gone away

This issue usually encounters when max_allowed_packet has very low value than the data you submitted via query. This can be fixed by increasing max_allowed_packet variable value so it is recommended to edit this variable through /mysql/bin/my.ini (Windows) or /etc/my.cnf  (Linux/UNIX) config file. It should look like as follows:

my.ini / my.cnf Configuration Sample


max_allowed_packet = 16M

Explanation: max_allowed_packet is set to 16 Megabytes

Once, you have updated the value then restart your MySQL Server and you're done!

That's it!

NOTE: If you are not sure how to do this then kindly reach out to your web server administrator and ask to make this change.

Custom Fields
  • Applicable To: Standard Edition, Standard (Multi-Language) Edition, Enterprise Edition (MySQL), Enterprise Multi-Language Edition (MySQL), Enterprise Edition (SQL Server), Enterprise Multi-Language Edition (SQL Server)
3 (2)
Article Rating (2 Votes)
Rate this article
Attached Files
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Security Code Security Code
Related Articles RSS Feed
Why should I renew my software maintenance?
Viewed 11230 times since Mon, Aug 8, 2011
How to install wkhtmltopdf and configure in PHPKB
Viewed 12122 times since Fri, Dec 11, 2015
How can I purchase a maintenance renewal?
Viewed 11133 times since Mon, Aug 8, 2011
How to enable mbstring in PHP?
Viewed 358366 times since Wed, Feb 6, 2013
What is software maintenance?
Viewed 10963 times since Mon, Aug 8, 2011
Unable to upload large files or no data received on "Save Article" page
Viewed 3646 times since Thu, May 26, 2016
Can I use the PHPKB software without active support subscription?
Viewed 9880 times since Mon, Aug 8, 2011
SEO Friendly URLs Not Working
Viewed 11465 times since Fri, Mar 18, 2016