]> source.dussan.org Git - sonarqube.git/commitdiff
Remove MySQL scripts from distribution (/extras)
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 5 Aug 2013 08:11:45 +0000 (10:11 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 5 Aug 2013 08:11:45 +0000 (10:11 +0200)
They are moved to https://github.com/SonarSource/sonar-examples/tree/master/scripts/database/mysql

sonar-application/src/main/assembly/extras/database/mysql/create_database.sql [deleted file]
sonar-application/src/main/assembly/extras/database/mysql/drop_database.sql [deleted file]

diff --git a/sonar-application/src/main/assembly/extras/database/mysql/create_database.sql b/sonar-application/src/main/assembly/extras/database/mysql/create_database.sql
deleted file mode 100644 (file)
index 5e7533f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Create Sonar database and user.
-#
-# Command: mysql -u root -p < create_database.sql
-#
-
-CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
-
-CREATE USER 'sonar' IDENTIFIED BY 'sonar';
-GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
-GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
-FLUSH PRIVILEGES;
\ No newline at end of file
diff --git a/sonar-application/src/main/assembly/extras/database/mysql/drop_database.sql b/sonar-application/src/main/assembly/extras/database/mysql/drop_database.sql
deleted file mode 100644 (file)
index 254f3d0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Drop Sonar database and user.
-#
-# Command: mysql -u root -p < drop_database.sql
-#
-
-DROP DATABASE IF EXISTS sonar;
-DROP USER 'sonar'@'localhost';
-DROP USER 'sonar'@'%';