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白名单或者网络不通的问题。

本文作者:在谷歌上百度

本文链接:https://www.cnblogs.com/zhangjianbing/p/11119023.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   在谷歌上百度  阅读(1678)  评论(1编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
展开