From d9db3a41408730d4c7fbd33d453cb81d2f936ef4 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 15 Jul 2014 11:21:42 +0200 Subject: [PATCH] SONAR-5455 Add "useConfigs=maxPerformance" to default MySQL URL --- sonar-application/src/main/assembly/conf/sonar.properties | 2 +- sonar-start/src/main/assembly/conf/sonar.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 6c058aa3227..14260811d9d 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -37,7 +37,7 @@ sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar #----- MySQL 5.x # Comment the embedded database and uncomment the following line to use MySQL -#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true +#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance #----- Oracle 10g/11g diff --git a/sonar-start/src/main/assembly/conf/sonar.properties b/sonar-start/src/main/assembly/conf/sonar.properties index 6c058aa3227..14260811d9d 100644 --- a/sonar-start/src/main/assembly/conf/sonar.properties +++ b/sonar-start/src/main/assembly/conf/sonar.properties @@ -37,7 +37,7 @@ sonar.jdbc.url=jdbc:h2:tcp://localhost:9092/sonar #----- MySQL 5.x # Comment the embedded database and uncomment the following line to use MySQL -#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true +#sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance #----- Oracle 10g/11g -- 2.39.5