ERROR 2006 (HY000) MySQL server has gone away

If you get this error when importing a mysql database add the following line to your /etc/my.cnf

max_allowed_packet=573741824

The number should be larger than the database you are trying to import.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.