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数据库,程序运行较长时间后就会报这个错误,有时错误还会提示你修改
相关文章
相关标签/搜索