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數據庫,程序運行較長時間後就會報這個錯誤,有時錯誤還會提示你修改wait_timeout或是使用Conn
相關文章
相關標籤/搜索