Do not replace the provided drivers they are the only ones supported.įor Oracle, copy the JDBC driver into /extensions/jdbc-driver/oracle. =jdbc:postgresql://localhost/sonarqube Adding the JDBC driverĭrivers for the supported databases (except Oracle) are already provided. Just uncomment and configure the template you need and comment out the lines dedicated to H2: Example for PostgreSQL Templates are available for every supported database. Setting access to the databaseĮdit /conf/sonar.properties to configure the database settings. (below) refers to the path to the directory where the SonarQube distribution has been unzipped. SonarQube cannot be run as root on Unix-based systems, so create a dedicated user account for SonarQube if necessary. Then download and unzip the distribution (do not unzip into a directory starting with a digit). ![]() PostgreSQL Installing SonarQube from the ZIP fileįirst, check the requirements. ![]() Grant this sonarqube user permissions to create, update, and delete objects for this schema. They are real requirements not recommendations.Ĭreate an empty schema and a sonarqube user. Be sure to follow the requirements listed for your database. Several external database engines are supported. The server and database hosts should be located on the same network.Īll hosts must be time-synchronized.
0 Comments
Leave a Reply. |