Skip to main content

🗓️ 20052025 0952
📎

timeout_configs

hikariCP

variabledescriptiondefault
maxLifetimeHow long a connection is kept before hikari closes + replaces it (regardless of whether it is act)30 min
keepaliveTimehow often to ping idle connections
idleTimeoutHow long an idle connection stays in pool before Hikari removes it

mysql

variabledescription
wait_timeoutHow long (in seconds) the server waits to kill an idle connection (JDBC / HikariCP)
interactive_timeoutHow long server waits to kill an interactive session (CLI / GUI)
SHOW VARIABLES LIKE '%timeout%';

References