aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-07-02 09:47:40 +0200
committersonartech <sonartech@sonarsource.com>2019-07-10 08:36:51 +0200
commit66d4e6772ab7e53be02f8438c69135f632fc7e89 (patch)
tree5b168390ea407bb43242cde8f4523fd9eef8333a
parentc7e942f280ba9723e93ac9b16a4225f627818fcc (diff)
downloadsonarqube-66d4e6772ab7e53be02f8438c69135f632fc7e89.tar.gz
sonarqube-66d4e6772ab7e53be02f8438c69135f632fc7e89.zip
SONAR-12246 Remove unused mysql files
-rw-r--r--.gitignore1
-rw-r--r--build.gradle1
-rwxr-xr-xscripts/patches/mysql.sh12
3 files changed, 0 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index ee838839634..d677071ece1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/build.gradle b/build.gradle
index 9d2d1dab37d..fb535068d9a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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'
diff --git a/scripts/patches/mysql.sh b/scripts/patches/mysql.sh
deleted file mode 100755
index ce0f260d615..00000000000
--- a/scripts/patches/mysql.sh
+++ /dev/null
@@ -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"