2014-03-01 11:55:31 +01:00
|
|
|
grant '' to foo@localhost;
|
2016-10-03 17:49:44 +02:00
|
|
|
ERROR OP000: Invalid role specification ``
|
2013-11-10 17:50:52 +01:00
|
|
|
create user ''@localhost;
|
|
|
|
create role r1;
|
|
|
|
grant r1 to ''@localhost;
|
2016-03-25 17:51:22 +01:00
|
|
|
connect con1,localhost,nonexisting_user,,;
|
2013-11-10 17:50:52 +01:00
|
|
|
select current_user;
|
|
|
|
current_user
|
|
|
|
@localhost
|
|
|
|
show grants;
|
|
|
|
Grants for @localhost
|
2019-11-06 12:35:19 +01:00
|
|
|
GRANT `r1` TO ``@`localhost`
|
|
|
|
GRANT USAGE ON *.* TO ``@`localhost`
|
2016-03-25 17:51:22 +01:00
|
|
|
connection default;
|
2013-11-10 17:50:52 +01:00
|
|
|
drop role r1;
|
|
|
|
drop user ''@localhost;
|