mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Update to support Travis (now based on azerothcore changes wrt TC)
This commit is contained in:
13
data/sql/create/create_mysql.sql
Normal file
13
data/sql/create/create_mysql.sql
Normal 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;
|
||||
21
data/sql/create/drop_mysql.sql
Normal file
21
data/sql/create/drop_mysql.sql
Normal 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`;
|
||||
Reference in New Issue
Block a user