提交额外资源
This commit is contained in:
6
build/extraResources/mysql/grant.sql
Normal file
6
build/extraResources/mysql/grant.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE USER IF NOT EXISTS 'root'@'127.0.0.1' IDENTIFIED BY 'njcnpqs';
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' WITH GRANT OPTION;
|
||||
CREATE USER IF NOT EXISTS 'root'@'%' IDENTIFIED BY 'njcnpqs';
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
|
||||
FLUSH PRIVILEGES;
|
||||
SELECT User, Host FROM mysql.user WHERE User='root';
|
||||
Reference in New Issue
Block a user