在数据库中操作:
show global variables like 'max_allowed_packet'; //查看max_allowed_packet值
-- set global max_allowed_packet = 2*1024*1024*10; //修改max_allowed_packet值
在数据库中操作:
show global variables like 'max_allowed_packet'; //查看max_allowed_packet值
-- set global max_allowed_packet = 2*1024*1024*10; //修改max_allowed_packet值
转载于:https://www.cnblogs.com/xie-xiao-chao/p/8260059.html