Problem:
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.
Solution:
[mysqld] max_allowed_packet = 64M wait_timeout = 6000 [mysqldump] max_allowed_packet = 64M
Leave a Reply