Hi.
There is/was a bug, please read this thread: Database connection cannot be established. Please check database status and JDBC settings - SonarQube Server / Community Build - Sonar Community