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