Spring Boot Application gets stuck on “Hikari-Pool-1 - Starting…”

后端 未结 5 521
滥情空心
滥情空心 2021-01-07 22:11

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

5条回答
  •  别那么骄傲
    2021-01-07 22:43

    Normal postgresql port is 5432, so I assume you also configured it to 55491.

    Double check this via your postgresql client using psql -h 127.0.0.1 -p 55491 -d TodoAppDatabase -U admin

    At last you can put the HikariCP into DEBUG mode, so you can see what parameters its using.

    If your properties file is really apllication.properties than this may also an issue because spring boot only picks up application.properties automatically.

提交回复
热议问题