brettwooldridge / HikariCP

光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Apache License 2.0
19.91k stars 2.92k forks source link

HikariCP Warning: "Driver does not support get/set network timeout for connections" #2196

Closed xiaogc123 closed 4 months ago

xiaogc123 commented 5 months ago

We are experiencing a HikariCP warning: "Driver does not support get/set network timeout for connections" while attempting to use read-write separation based on ShardingSphere 5.4.0. We have explicitly specified to use the MySQL driver (mysql-connector-java 8.0.28). Detailed steps to reproduce: We added the dependency for mysql-connector-java 8.0.28 in our pom.xml file; We explicitly specified the usage of the MySQL driver in ShardingSphere's configuration file (set driver-class-name property).However, the warning message persists. From our understanding, HikariCP should be able to correctly set the network timeout when using the MySQL driver. We seek some assistance in resolving this issue. Additional Information:

Thank you for your assistance!

linghengqian commented 4 months ago
linghengqian commented 6 days ago