aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2021-05-13 16:55:01 +0200
committerfunjoker <funjoker109@gmail.com>2022-01-02 19:55:05 +0100
commit528e9959e8f50cf3d7a4f88516f9acaee6e838d4 (patch)
treee27c7a15682a38934139539c5fa30554f7615752
parent74174332c6f8f8cda136c2804bad6c665724185d (diff)
DB: Add drop script compatible with MySQL 8
(cherry picked from commit 7e5c1cf453972e142613ab828b75c8635edf697d)
-rw-r--r--sql/create/drop_mysql_8.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/create/drop_mysql_8.sql b/sql/create/drop_mysql_8.sql
new file mode 100644
index 00000000000..b4a06e76781
--- /dev/null
+++ b/sql/create/drop_mysql_8.sql
@@ -0,0 +1,11 @@
+REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'trinity'@'localhost';
+
+DROP USER 'trinity'@'localhost';
+
+DROP DATABASE IF EXISTS `world`;
+
+DROP DATABASE IF EXISTS `characters`;
+
+DROP DATABASE IF EXISTS `auth`;
+
+DROP DATABASE IF EXISTS `hotfixes`;