Sonarqube in AKS not able to connect to database and always creates H2 database

We trying deploy SonarQube on AKS ith external database SQL Server but it never goes to check for database always creates H2in memory database.

  • which versions are you using (docker image): sonarqube:8.9.1-enterprise
  • what are you trying to achieve : connection to external database
  • We are trying connect to connect external database with root certificate.
  • JDBC driver of MSSQL copied to extensions location : mssql-jdbc-9.4.1.jre11.jar
    There is log about connection to database as well.
  • A PVC has been created and mapped correctly.


logs-sonar.txt (2.1 KB)


You need to configure the location and credentials for your external DB. The docs should get you started.