I\'m trying to run Spring Boot application connected to PostgreSQL database. However, when it comes to Hikari connection pool initializing, it just gets stuck and nothing go
In my case spring.datasource.hikari.initializationFailTimeout was set to a really high value, 3600000 (1 hour). This, in it self, was not a malconfiguration but it hid the real problem as the app was hanging on startup.
Once that value was adjusted, I got a much more understandable stack trace which led me to the conclusion that in this case I couldn't use the default MariaDB driver configuration that I probably got through a jHipster.
A very wierd problem that I so far only has seen with MySQL8 and Ubuntu 20 on AWS EC2. Locally I run Ubuntu and MySQL8 via Docker without issues.