From 9b1c0e006f20091f28f3f468cfcab1feb51286bd Mon Sep 17 00:00:00 2001
From: Neo2003 <none@none>
Date: Thu, 2 Oct 2008 16:23:55 -0500
Subject: [svn] * Proper SVN structure

--HG--
branch : trunk
---
 sql/drop_mysql.sql | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 sql/drop_mysql.sql

(limited to 'sql/drop_mysql.sql')

diff --git a/sql/drop_mysql.sql b/sql/drop_mysql.sql
new file mode 100644
index 00000000000..4ed3f55472e
--- /dev/null
+++ b/sql/drop_mysql.sql
@@ -0,0 +1,21 @@
+REVOKE ALL PRIVILEGES ON * . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `mangos` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `mangos` . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `characters` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `characters` . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `realmd` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `realmd` . * FROM 'mangos'@'localhost';
+
+DELETE FROM `user` WHERE CONVERT( User USING utf8 ) = CONVERT( 'mangos' USING utf8 ) AND CONVERT( Host USING utf8 ) = CONVERT( 'localhost' USING utf8 ) ;
+
+DROP DATABASE IF EXISTS `mangos` ;
+
+DROP DATABASE IF EXISTS `characters` ;
+
+DROP DATABASE IF EXISTS `realmd` ;
-- 
cgit v1.2.3

