Hello,
I am currently on sonarqube community edition version 8.9.7 and trying to upgrade to version 9.6-community.
I first faced an issue (could not find java in ES_JAVA_HOME at /usr/lib/jvm/java-11-openjdk/bin/java) which was solved by upgrading docker to version 20
I am now getting the following error:
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host mxsonar-test, port 1433 has failed. Error: “mxsonar-test. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.”
I saw in the documentation:
- If your Microsoft SQL Server doesn’t support encryption, you will need to add
encrypt=false
to the JDBC URL connection string. (SONAR-16249 4). - If your Microsoft SQL Server requires encryption but you don’t want SonarQube to validate the certificate, you will need to add
trustServerCertificate=true
to the JDBC URL connection string.
I tried to add both the parameters suggested separately but it didn’t work.
Do you have any idea ?