版本: v2.6
环境:本地
复现步骤:
配置成云服务器的mysql(5.7)之后,登陆有时候会报错,请求接口有时候也会报错,时好时不好。 配置为本地的mysql不会出现这个问题。
日志提供:
2022-01-12 21:36:38 [http-nio-12800-exec-5] ERROR jdbc.sqlonly - 8. Statement.executeQuery(select 1) select 1
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet successfully received from the server was 575,921 milliseconds ago. The last packet sent successfully to the server was 575,976 milliseconds ago.
版本: v2.6 环境:本地 复现步骤: 配置成云服务器的mysql(5.7)之后,登陆有时候会报错,请求接口有时候也会报错,时好时不好。 配置为本地的mysql不会出现这个问题。 日志提供: 2022-01-12 21:36:38 [http-nio-12800-exec-5] ERROR jdbc.sqlonly - 8. Statement.executeQuery(select 1) select 1 com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet successfully received from the server was 575,921 milliseconds ago. The last packet sent successfully to the server was 575,976 milliseconds ago.