ERROR 2006 (HY000) at line 1: MySQL server has gone away


Getting error 2006 during database backup import. The problem is in short timeout and small packet size. It’s necessary to update my.cnf and restart MySql service.


max_allowed_packet = 64M
wait_timeout = 6000

max_allowed_packet = 64M

External links

Leave a Reply

Your email address will not be published. Required fields are marked *