forked from unitoo/configurations
feature: add mysql script to GRANT and REVOKE privileges
This commit is contained in:
parent
d15002c606
commit
f3b6708594
1 changed files with 3 additions and 0 deletions
3
mysql/acl_restrictions.sql
Normal file
3
mysql/acl_restrictions.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
SHOW GRANTS FOR 'role';
|
||||
REVOKE ALL ON *.* FROM 'role'@'%';
|
||||
GRANT ALL ON ex_database.* TO 'role'@'%' WITH GRANT OPTION;
|
Loading…
Reference in a new issue