ERROR 2006 HY000 line 1: MySQL server

ERROR 2006 HY000 line 1: MySQL server has gone away

Add the following parameters to the my.cnf configuration file to fix the error.

# vi /etc/my.cnf

[mysqld]

max_allowed_packet = 64M
wait_timeout = 6000

[mysqldump]
max_allowed_packet = 64M

 

Be the first to comment

Leave a Reply