mirror of
https://github.com/MariaDB/server.git
synced 2025-02-20 04:15:35 +01:00

recognize the context better: always treat the barename as a username in the username context
9 lines
202 B
Text
9 lines
202 B
Text
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;
|