Update to support Travis (now based on azerothcore changes wrt TC)

This commit is contained in:
Ennio Visconti
2016-08-30 11:29:53 +02:00
parent d9640b8e81
commit 38429f3f20
3 changed files with 44 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
GRANT USAGE ON * . * TO 'acore'@'localhost' IDENTIFIED BY 'acore' 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 `auth` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON `world` . * TO 'acore'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON `characters` . * TO 'acore'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON `auth` . * TO 'acore'@'localhost' WITH GRANT OPTION;

View File

@@ -0,0 +1,21 @@
REVOKE ALL PRIVILEGES ON * . * FROM 'acore'@'localhost';
REVOKE ALL PRIVILEGES ON `world` . * FROM 'acore'@'localhost';
REVOKE GRANT OPTION ON `world` . * FROM 'acore'@'localhost';
REVOKE ALL PRIVILEGES ON `characters` . * FROM 'acore'@'localhost';
REVOKE GRANT OPTION ON `characters` . * FROM 'acore'@'localhost';
REVOKE ALL PRIVILEGES ON `auth` . * FROM 'acore'@'localhost';
REVOKE GRANT OPTION ON `auth` . * FROM 'acore'@'localhost';
DROP USER 'acore'@'localhost';
DROP DATABASE IF EXISTS `world`;
DROP DATABASE IF EXISTS `characters`;
DROP DATABASE IF EXISTS `auth`;