druid discard long time none received connection

gcxthw6b  于 3个月前  发布在  Druid
关注(0)|答案(4)|浏览(52)

在 druid 1.2.5 版本下
mysql-connector-java 8.0.22版本下

一直提示discard long time none received connection

bxfogqkk

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

ecfsfe2w

ecfsfe2w4#

升级到1.2.9好像就没有了

相关问题