Packet for query is too large (12164278 > 4194304) 4M. You can change this value(亲测有效)
一、报错如下:
Packet for query is too large (12164278 > 4194304). You can change this value
二、解决方式如下:
1、查看mysql的配置文件my.ini,发现max_allowed_packet值为4M太小了(这里4194304=410241024),修改如下:
2、重启mysql服务即可。
https://blog.csdn.net/li1325169021/article/details/102516287
个人学习笔记,记录日常学习,便于查阅及加深,仅为方便个人使用。