mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
placed sql into the data folder as core/module describes
This commit is contained in:
5
data/sql/playerbots/create/create_mysql.sql
Normal file
5
data/sql/playerbots/create/create_mysql.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
GRANT ALL PRIVILEGES ON * . * TO 'acore'@'localhost' WITH GRANT OPTION;
|
||||
|
||||
CREATE DATABASE `acore_playerbots` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_general_ci;
|
||||
|
||||
GRANT ALL PRIVILEGES ON `acore_playerbots` . * TO 'acore'@'localhost' WITH GRANT OPTION;
|
||||
9
data/sql/playerbots/create/drop_mysql.sql
Normal file
9
data/sql/playerbots/create/drop_mysql.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
REVOKE ALL PRIVILEGES ON * . * FROM 'acore'@'localhost';
|
||||
|
||||
REVOKE ALL PRIVILEGES ON `acore_playerbots` . * FROM 'acore'@'localhost';
|
||||
|
||||
REVOKE GRANT OPTION ON `acore_playerbots` . * FROM 'acore'@'localhost';
|
||||
|
||||
DROP USER 'acore'@'localhost';
|
||||
|
||||
DROP DATABASE IF EXISTS `acore_playerbots`;
|
||||
5
data/sql/playerbots/create/drop_mysql_8.sql
Normal file
5
data/sql/playerbots/create/drop_mysql_8.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'acore'@'localhost';
|
||||
|
||||
DROP USER 'acore'@'localhost';
|
||||
|
||||
DROP DATABASE IF EXISTS `acore_playerbots`;
|
||||
Reference in New Issue
Block a user