# 在数据库新增查询,执行如下命令即可:

show VARIABLES like '%max_allowed_packet%';

 set global max_allowed_packet = 2*1024*1024*10;  -- 后面 2*1024*1024*10是大小

相关文章: