feature: add mysql script to GRANT and REVOKE privileges
This commit is contained in:
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;
|
||||
Reference in New Issue
Block a user