- Create Database
- CREATE DATABASE "sonar" COLLATE Latin1_General_CS_AS
- It needs to be case and accent sensitive
- Create user and add permissions to user so tables can be created with SonarQube start
- Modify SonarQube configuration to point out to database created
- Go to SonarQube\conf\sonar.properties and follow instructions in the file
- Uncomment and change connection string e.g. sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true
- In case there is not used integrated also specify sonar.jdbc.username and sonar.jdbc.password
- In case there is used integrated connection to database used then download Microsoft JDBC driver, unzip and somewhere to the system PATH place sqljdbc_auth.dll (either 32 or 64 bit based on your operating system)
- Restart SonarQube instance.
Wednesday, 2 May 2018
SonarQube MSSQL backend setup
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment