mysqldump备份恢复错误ERROR 2006 (HY000) at line 364: MySQL server has gone away
What you should try to do is locate and edit the my.cnf file your server is currently using. In the [mysqld]
section alter the max_allowed_packet settings to something like
[mysqld]
max_allowed_packet=32M
Don't forget to restart the server after altering the configuration.