一、报错如下:

Packet for query is too large (12164278 > 4194304). You can change this value

二、解决方式如下:

1、查看mysql的配置文件my.ini,发现max_allowed_packet值为4M太小了(这里4194304=410241024),修改如下:

Packet for query is too large (12164278 > 4194304). You can change this value(亲测有效)
2、重启mysql服务即可。

相关文章:

  • 2022-12-23
  • 2021-08-21
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-11-13
猜你喜欢
  • 2021-10-14
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-11-11
相关资源
相似解决方案