diff options
Diffstat (limited to 'sonar-application/src/main/assembly/conf/sonar.properties')
-rw-r--r-- | sonar-application/src/main/assembly/conf/sonar.properties | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 9bf7f10b465..e48cda0d6d5 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -26,7 +26,7 @@ #----------------------------------------------------------------------- # DATABASE # -# IMPORTANT : the embedded database Derby is used by default. +# IMPORTANT : the embedded database H2 is used by default. # It is recommended for tests only. Please use an external database # for production environment (MySQL, Oracle, Postgresql, SQLServer) # @@ -38,22 +38,19 @@ sonar.jdbc.username: sonar sonar.jdbc.password: sonar -#----- Embedded database Derby +#----- Embedded database H2 # Note : it does not accept connections from remote hosts, so the # sonar server and the maven plugin must be executed on the same host. # Comment the following line to deactivate the default embedded database. -sonar.jdbc.url: jdbc:derby://localhost:1527/sonar;create=true -#sonar.jdbc.driverClassName: org.apache.derby.jdbc.ClientDriver +sonar.jdbc.url: jdbc:h2:tcp://localhost:9092/sonar +#sonar.jdbc.driverClassName: org.h2.Driver #sonar.jdbc.validationQuery: values(1) -# directory containing Derby database files. By default it's the /data directory in the sonar installation. +# directory containing H2 database files. By default it's the /data directory in the sonar installation. #sonar.embeddedDatabase.dataDir: -# derby embedded database server listening port, defaults to 1527 -#sonar.derby.drda.portNumber: 1527 - -# uncomment to accept connections from remote hosts. Ba default it only accepts localhost connections. -#sonar.derby.drda.host: 0.0.0.0 +# H2 embedded database server listening port, defaults to 9092 +#sonar.embeddedDatabase.port: 9092 #----- MySQL 5.x/6.x |