标签:
最近在腾讯云服务器(1核4G内存)遇到一个怪事:
玩家回写数据库的时候偶尔会报错:
#08S01Got a packet bigger than ‘max_allowed_packet‘ bytes
show global variables like ‘max_allowed_packet‘;
于是按照网上说的
set global max_allowed_packet = 2*1024*1024;
并且修改了/etc/my.cnf
max_allowed_packet=16M
关于'max_allowed_packet' bytes报错
标签:
原文地址:http://www.cnblogs.com/huangliang-hb/p/5773966.html