Jdbc loadbalance连接doirs 2.1.10出现偶发连接超时

Viewed 10

客户端偶发出现这类错误信息“
Failed to validate connection com.mysql.cj.jdbc.ha.LoadBalancedMySQLConnection@665badc1 (Communications link failure

The last packet successfully received from the server was 117,501 milliseconds ago. The last packet sent successfully to the server was 117,513 milliseconds ago.). Possibly consider using a shorter maxLifetime value.

然后客户端查询就会出问题

查看fe日志
企业微信截图_176216379876.png

1 Answers

你这个什么方式链接的呢?在mysql client遇到过这个问题吗?