MSSQL Unable to determine database dialect

Dear Guru’s,

I’am trying to run a Docker with 9.9.0-developer, using kustomization.
When i use the default with the docker postgress i can run the application and access the website.

Now i need to connect to our MSSQL database, but no mather what i do i keep getting this error:

2023.03.23 13:49:25 INFO  web[][o.s.p.ProcessEntryPoint] Starting Web Server
2023.03.23 13:49:26 INFO  web[][o.s.s.p.LogServerVersion] SonarQube Server / 9.8.0.63668 / 6498415c5112d868f6206d8bcc043a1dac92d1c4
2023.03.23 13:49:26 WARN  web[][o.s.c.a.AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27-org.sonar.db.DefaultDatabase': Initialization of bean failed; nested exception is Unable to determine database dialect to use within sonar with dialect null jdbc url sonar.jdbc.url=jdbc:sqlserver://SQLSERVER\I01:50001;databaseName=K8S_SONARQUBE_ONT
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27-org.sonar.db.DefaultDatabase': Initialization of bean failed; nested exception is Unable to determine database dialect to use within sonar with dialect null jdbc url sonar.jdbc.url=jdbc:sqlserver://SQLSERVER\I01:50001;databaseName=K8S_SONARQUBE_ON

I have no idee where too look, the JDBC connection should be ok jdbc:sqlserver://[serverName[\instanceName][:portNumber]][;property=value[;property=value]].

If anyone could give me some pointers on where too look, that would be great.

Kind regards
Dennis

Used
value: sonar.jdbc.url=jdbc:
should be:
value: "jdbc:
than we had to tell it insecureMode=true
but we are up and running.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.