MySql的Communications link failure解決辦法

這兩天在日誌中看到關於數據庫報的異常: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure Last packet sent to the server was X ms ago 使用Connector/J連接MySQL數據庫,程序運行較長時間後就會報這個錯誤,有時錯誤還會提示你修改
相關文章
相關標籤/搜索