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.

posted @ 2013-03-21 10:19  Simple Happiness  阅读(198)  评论(0编辑  收藏  举报