Message: MySQL server has gone away
原因可能是sql语句过长,超过mysql通信缓存区最大长度;
调整mysql配置文件中max_allowed_packet
编辑mysql.ini
max_allowed_packet=16M
重启mysql