Got a packet bigger than 'max_allowed_packet' bytes With statement Mysql终端数据同步不成功解决办法
在做两个数据库数据拷贝的时候,遭遇
- 1153 - Got a packet bigger than 'max_allowed_packet' bytes With statement:
遇到这个问题,一般是客户端的 'max_allowed_packet'设置不够大。解决方法为:
在终端执行以下命令
- set global net_buffer_length=1000000;
- set global max_allowed_packet=1000000000;