wait_timeout
max_allowed_packet
Linux 下找到 my.cnf 增加如下配置,Windows 下是 my.ini:
[mysqld] max_allowed_packet= 128M wait_timeout= 6000
重启 MySQL。