From ca8f0a53b3a9b146039b5be5e0dea246bf37a538 Mon Sep 17 00:00:00 2001
From: XTZGZoReX <none@none>
Date: Mon, 7 Jun 2010 01:44:40 +0200
Subject: * Cleanup in sql directory.

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

(limited to 'sql/tools/create_mysql.sql')

diff --git a/sql/tools/create_mysql.sql b/sql/tools/create_mysql.sql
new file mode 100644
index 00000000000..dc272ebf697
--- /dev/null
+++ b/sql/tools/create_mysql.sql
@@ -0,0 +1,13 @@
+GRANT USAGE ON * . * TO 'trinity'@'localhost' IDENTIFIED BY 'trinity' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
+
+CREATE DATABASE `world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+CREATE DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+CREATE DATABASE `realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+GRANT ALL PRIVILEGES ON `world` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
+
+GRANT ALL PRIVILEGES ON `characters` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
+
+GRANT ALL PRIVILEGES ON `realmd` . * TO 'trinity'@'localhost' WITH GRANT OPTION;
-- 
cgit v1.2.3

