I am setting up SonarQube Community edition to connect to postgres database server but I cannot connect to the database.
Postgres version is: postgres (PostgreSQL) 9.2.24
SonarQube version is: 9.3.0.51899
On the postgres side, I have setup a user, password, and a database.
Here are the corresponding configuration changes I have in the properties file:
sonar.jdbc.username=sonar
sonar.jdbc.password=the password
sonar.jdbc.url=jdbc:postgresql://localhost/sonarqube
When I comment out the lines above in the properties file and restart SonarQube i connect to SonarQube fine. This is telling me there is an issue with connecting to the database.
Here are my log files:
access.log (31.2 KB)
sonar.20220323.log (36.2 KB)
ce.log (2.6 KB)
es.log (155.2 KB)
web.log (121.9 KB)
Can you help me out with what I need to do to connect to the database?
Thank You