ported double tracking from 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 `acore_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
CREATE DATABASE `acore_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
CREATE DATABASE `acore_auth` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
GRANT ALL PRIVILEGES ON `acore_world` . * TO 'acore'@'localhost' WITH GRANT OPTION;
|
||||
|
||||
GRANT ALL PRIVILEGES ON `acore_characters` . * TO 'acore'@'localhost' WITH GRANT OPTION;
|
||||
|
||||
GRANT ALL PRIVILEGES ON `acore_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 `acore_world` . * FROM 'acore'@'localhost';
|
||||
|
||||
REVOKE GRANT OPTION ON `acore_world` . * FROM 'acore'@'localhost';
|
||||
|
||||
REVOKE ALL PRIVILEGES ON `acore_characters` . * FROM 'acore'@'localhost';
|
||||
|
||||
REVOKE GRANT OPTION ON `acore_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 `acore_world`;
|
||||
|
||||
DROP DATABASE IF EXISTS `acore_characters`;
|
||||
|
||||
DROP DATABASE IF EXISTS `acore_auth`;
|
||||
Reference in New Issue
Block a user