MYSQL server has gone away

Its very rare case when I see message :

“MYSQL server has gone away” , a few things to consider are :

* Check variable max_timeout
* Check variable max_allowed_packet

These setting available in my.ini or my.cf file, edit the value and restart mysql daemon.

Example :

max_allowed_packet=16M

max_timeout=28800

Try again to import database using mysql command and see the different 🙂

Tags: