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:
1 2 3 4 5 6 | [mysqld] max_allowed_packet = 64M wait_timeout = 6000 [mysqldump] max_allowed_packet = 64M |
Leave a Reply