执行了一组插入语句 提示:2006 - Server has gone away;
2006-服务器已经消失;
消失去哪里了,被黑洞吞没了吗?!!!

网络不稳定?断网了?检查网络连接是否正常,确保客户端和服务器之间的通信畅通。
ping 了一下是正常的。
-
- show global variables like 'wait_timeout';
-
- show global variables like 'interactive_timeout'


- set global wait_timeout=604800;
- set global interactive_timeout=604800;

service mysqld stop

vim /etc/my.cnf

添加
- wait_timeout=28800
- interactive_timeout=28800
service mysqld start

