configurations/mysql/acl_restrictions.sql

3 lines
119 B
SQL

SHOW GRANTS FOR 'role';
REVOKE ALL ON *.* FROM 'role'@'%';
GRANT ALL ON ex_database.* TO 'role'@'%' WITH GRANT OPTION;