The last packet successfully received from the server was 314,213 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
日志报错信息:数据库连接异常,出现了超时的错误。
1、在JDBC url里配置了autoReconnect 属性,结果也未解决问题 ;autoReconnect=true;failOverReadOnly=false;