mysql:lost connection to MYSQL during query(mysql:lost connection to MYSQL during query)

测试的时候,修改本地的数据报了这么一个错误

navcat就这样卡住了。

按照网上的说法设置max_allowed_packet变量

找了半天的my.ini硬是没有,c盘,安装盘都没,

直接在安装目录下重建了个my.ini文件,设置该参数,重启解决

————————

During the test, the local datagram was modified with such an error

Navcat just got stuck.

Set Max according to the online statement_ allowed_ Packet variable

I’ve been looking for my for a long time No ini, no C disk, no installation disk,

Rebuild a my.com directly under the installation directory The file is restarted, ini is set, and the problem is solved