本地运行项目,突然报错,日志为:
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
在网上找了一圈,没有找到合适的解决方案。最后猜测问题有可能出在MySQL上,想起前几天改过MySQL的 my.ini 文件,于是改回来,重启项目就OK了。
本地运行项目,突然报错,日志为:
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
在网上找了一圈,没有找到合适的解决方案。最后猜测问题有可能出在MySQL上,想起前几天改过MySQL的 my.ini 文件,于是改回来,重启项目就OK了。