Problem scenario
You try to start an old SonarQube instance but with a new database connection. In the web.log file you see a message like this: “Can not connect to database. Please check connectivity and settings.” What should you do?
Solution
Go to sonar.properties. Find the connection string for the new database. It should look something like this:
sonar.jdbc.url=jdbc:oracle://FQDN:1521:XE
The default port for Oracle databases is 1521.