/mysql-error-2006-hy000-at-line-mysql-server-has-gone-away
MySQL: ERROR 2006 (HY000) at line: ### MySQL server has gone away
In case of MySQL error 2006 (HY000) at line: ### MySQL server has gone away which may occur while restoring a big DB dump just add (or increase, if exists) max_allowed_packet parameter of MySQL...
Jul 18, 2012
~1 min read
In case of
MySQL error 2006 (HY000) at line: ### MySQL server has gone away which may occur while restoring a big DB dump just add (or increase, if exists)
max_allowed_packet parameter of MySQL config (usually in /etc/my.cnf).
For example:
[mysqld]
max_allowed_packet=128M
And do not forget to restart MySQL server :-)