Linux修改MySQL max_allowed_packet 值

修改配置文件

vi /etc/my.cnf

change "max_allowed_packet = 1M" to "max_allowed_packet = 32M"

参考链接:

https://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html

posted on 2018-04-02 16:39  Simle  阅读(384)  评论(0编辑  收藏  举报