Got a packet bigger than 'max

xiaoxiao2021-02-28  31

两种方案

临时修改

mysql>set global max_allowed_packet=524288000;

修改/etc/my.cnf

修改mysql的最大允许包大小 ,然后重启mysql服务就可以了。

max_allowed_packet=50M
转载请注明原文地址: https://www.6miu.com/read-2621709.html

最新回复(0)