[mycat1.6] java.sql.SQLTransientConnectionException: Hika riPool-1 - Connection is not avai

214 阅读1分钟

1.后端服务器maridb

2.连接池HikariPool

3.客户端MySQL Connector/J

4.mycat1.6系列

 

出现

org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: Hika
riPool-1 - Connection is not available, request timed out after 3000ms.

 

解决:

把MySQL Connector/J换成maridb的客户端