Am I doing something wrong here? Hikari's logfile shows:
08:05:40.630 [HikariPool-1 housekeeper] HikariPool-1 - Pool stats (total=3, active=0, idle=3, waiting=0)
But the mysql db it connects to only shows one active connection:
mysql> show processlist;
+------+------------+-----------------+------------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+------+------------+-----------------+------------+---------+------+-------+------------------+
| 927 | nameremoved | localhost:35702 | dbremoved | Sleep | 1 | | NULL |
| 4083 | root | localhost | NULL | Query | 0 | init | show processlist |
+------+------------+-----------------+------------+---------+------+-------+------------------+
When Hikari is started it connects with 3 connections to mysql, but it seems to be losing them after some time. But even if they disappear (for whatever reason), shouldn't the total in Pool Stats in the logfile show the actual number of connections?
Best regards,
Tobias