databaseoracleconfigurationsonarqubesonarqube-ops

How to setup SonarQube 6 with Oracle Database


I appericiate if you can guide me with the steps. I’ve already configured the sonar.properties file to point to our current DB.

sonar.jdbc.username=bdr
sonar.jdbc.password=dev1pass
sonar.jdbc.url=jdbc:oracle:thin:@dev3.our.domain.com:1522:dev3

Thank you!


Solution

  • As stated in the documentation, you need to

    Create an empty schema and a sonarqube user. Grant this sonarqube user permissions to create, update and delete objects for this schema.

    Given that schema and the proper permissions to it, SonarQube will indeed create its own tables, indexes, &etc. And since you're going to carefully restrict the sonarqube user's permissions to only the sonarqube schema, there should be no question of interfering with existing tables or data.