在 druid 1.2.5 版本下mysql-connector-java 8.0.22版本下
一直提示discard long time none received connection
iqxoj9l91#
具体问题?
deyfvvtc2#
#3954
bxfogqkk3#
原因:com.alibaba.druid.util.MySqlUtils#getLastPacketReceivedTimeMs
druid 1.1.18mysql-connector-java-5.1.46com.mysql.jdbc.MysqlIO#getLastPacketReceivedTimeMs
druid 1.2.8mysql-connector-java-8.0.26com.mysql.cj.jdbc.JdbcConnection#getIdleFor
ecfsfe2w4#
升级到1.2.9好像就没有了
4条答案
按热度按时间iqxoj9l91#
具体问题?
deyfvvtc2#
#3954
bxfogqkk3#
原因:
com.alibaba.druid.util.MySqlUtils#getLastPacketReceivedTimeMs
druid 1.1.18
mysql-connector-java-5.1.46
com.mysql.jdbc.MysqlIO#getLastPacketReceivedTimeMs
druid 1.2.8
mysql-connector-java-8.0.26
com.mysql.cj.jdbc.JdbcConnection#getIdleFor
ecfsfe2w4#
升级到1.2.9好像就没有了