mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
15 lines
250 B
Text
15 lines
250 B
Text
|
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;
|