sql

J 2024-03-22T14:53:18.684909Z

Hi guys! We have migrate a project from korma/c3p0 to next/HikariCP that target MySql (on AWS RDS). Since this migration, we have sometimes this kink of connect timeout errors:

Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server
The database has not changed. The wait_timeout of MySql is 28800 I keep the default timeout value of Hikari. I only change the maximumPoolSize. I don't know what is going on with Hikari.

valerauko 2024-03-26T15:02:01.593829Z

What's next/hikaricp? Is that some alternative wrapper around https://github.com/brettwooldridge/HikariCP ? I'm only familiar with https://github.com/tomekw/hikari-cp/ and this works for us in production without any issues

J 2024-03-26T15:03:57.516739Z

next/HikariCP is next-jdbc + HikariCP