`

遭遇 1153 - Got a packet bigger than 'max_allowed_packet' bytes With statement:

阅读更多

在做两个数据库数据拷贝的时候,遭遇

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;

 

分享到:
评论
2 楼 v若离v 2016-04-28  
完美解决我的问题
1 楼 yy21121287 2013-11-27  
 

相关推荐

Global site tag (gtag.js) - Google Analytics