summaryrefslogtreecommitdiff
path: root/mysql-test/suite/roles/grant_empty.result
blob: 3316c755b9f0691e4a6b751df3af7e8ffb7253e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
grant '' to foo@localhost;
ERROR OP000: Invalid role specification ``
create user ''@localhost;
create role r1;
grant r1 to ''@localhost;
connect  con1,localhost,nonexisting_user,,;
select current_user;
current_user
@localhost
show grants;
Grants for @localhost
GRANT r1 TO ''@'localhost'
GRANT USAGE ON *.* TO ''@'localhost'
connection default;
drop role r1;
drop user ''@localhost;