blob: 8bfa8e3929cda612409fd452d5a8788b22117372 (
plain)
1
2
3
4
5
6
7
8
9
|
create role r1;
create user user;
grant proxy on r1 to user;
show grants for user;
Grants for user@%
GRANT USAGE ON *.* TO `user`@`%`
GRANT PROXY ON 'r1'@'%' TO 'user'@'%'
drop user user;
drop role r1;
|