mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(DB/SQL): Do not give all permissions to user "acore" upon creation via the sql file (#22540)
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
DROP USER IF EXISTS 'acore'@'localhost';
|
DROP USER IF EXISTS 'acore'@'localhost';
|
||||||
CREATE USER 'acore'@'localhost' IDENTIFIED BY 'acore' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
|
CREATE USER 'acore'@'localhost' IDENTIFIED BY 'acore' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;
|
||||||
|
|
||||||
GRANT ALL PRIVILEGES ON * . * TO 'acore'@'localhost' WITH GRANT OPTION;
|
|
||||||
|
|
||||||
-- Create databases for AzerothCore, only if they do not exist
|
-- Create databases for AzerothCore, only if they do not exist
|
||||||
CREATE DATABASE IF NOT EXISTS `acore_world` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_unicode_ci;
|
CREATE DATABASE IF NOT EXISTS `acore_world` DEFAULT CHARACTER SET UTF8MB4 COLLATE utf8mb4_unicode_ci;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user