The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.


在链接数据库的时候,报错如下:

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

上网查,一般是设置超时时间,我这边设置超时时间是不管用的,敢肯定的是没有设置mysql白名单或者网络不通的问题。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM