首页 > 数据库 >Got a packet bigger than 'max_allowed_packet' bytes,cpp mysql insert multiple values and e

Got a packet bigger than 'max_allowed_packet' bytes,cpp mysql insert multiple values and e

时间:2022-12-04 16:56:44浏览次数:51  
标签:insert exceed set max packet allowed Got

 

You can also log into MySQL console and run the following command to set max_allowed_packet size for the duration of the session.

set global net_buffer_length=1000000; 
set global max_allowed_packet=1000000000;

 

标签:insert,exceed,set,max,packet,allowed,Got
From: https://www.cnblogs.com/Fred1987/p/16950163.html

相关文章