Browse Source

SONAR-12246 Remove unused mysql files

tags/8.0
Simon Brandhof 4 years ago
parent
commit
66d4e6772a
3 changed files with 0 additions and 14 deletions
  1. 0
    1
      .gitignore
  2. 0
    1
      build.gradle
  3. 0
    12
      scripts/patches/mysql.sh

+ 0
- 1
.gitignore View File

@@ -68,5 +68,4 @@ scripts/patches/*.*
scripts/patches/*license*.txt
!scripts/patches/debug_ce.sh
!scripts/patches/debug_web.sh
!scripts/patches/mysql.sh
!scripts/patches/postgres.sh

+ 0
- 1
build.gradle View File

@@ -158,7 +158,6 @@ subprojects {
dependency 'javax.servlet:javax.servlet-api:3.0.1'
dependency 'javax.xml.bind:jaxb-api:2.3.0'
dependency 'junit:junit:4.12'
dependency 'mysql:mysql-connector-java:5.1.46'
dependency 'net.jpountz.lz4:lz4:1.3.0'
dependency 'org.awaitility:awaitility:3.1.6'
dependency 'org.apache.commons:commons-csv:1.4'

+ 0
- 12
scripts/patches/mysql.sh View File

@@ -1,12 +0,0 @@
#!/usr/bin/env bash

set -euo pipefail

source scripts/property_utils.sh

SQ_HOME=$1

echo "configuring mysql"
set_property sonar.jdbc.url "jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance" "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.username sonarqube "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.password sonarqube "$SQ_HOME/conf/sonar.properties"

Loading…
Cancel
Save