mariadb/mysql-test/t/acl_roles_create_and_grant_role.test

15 lines
250 B
Text
Raw Normal View History

create role r1;
grant r1 to root@localhost;
create user u1;
set role r1;
grant r1 to u1;
select * from mysql.roles_mapping;
drop user u1;
select * from mysql.roles_mapping;
show grants;
drop role r1;
select * from mysql.roles_mapping;
show grants;