MySQL server has gone away
程序员文章站
2022-06-20 10:41:27
...
第一种方法:修改配置文件 max_allowed_packet = 128M
检查是否修改成功
show global variables like 'max_allowed_packet';
set global max_allowed_packet=1024x1024x16; 这里数值得计算出来
检查是否修改成功
show global variables like 'max_allowed_packet';
set global max_allowed_packet=1024x1024x16; 这里数值得计算出来
推荐阅读
-
gearman中worker常驻后台,导致MySQL server has gone away的解决方法
-
mysql导入大批量数据出现MySQL server has gone away的解决方法
-
mysql导入大批量数据出现MySQL server has gone away的解决方法
-
MySQL server has gone away
-
MySQL报错合集解决办法: server has gone away, @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON
-
解决MySQL server has gone away错误的方案
-
MySQL server has gone away 问题的解决方法
-
ThinkPHP出现General error: 2006 MySQL server has gone away的解决方法
-
Python pandas ERROR 2006 (HY000): MySQL server has gone away
-
MySQL server has gone away