2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
delete from mysql.user where user=_binary'rpl_ignore_grant';
8
delete from mysql.db where user=_binary'rpl_ignore_grant';
10
delete from mysql.user where user=_binary'rpl_ignore_grant';
11
delete from mysql.db where user=_binary'rpl_ignore_grant';
13
grant select on *.* to rpl_ignore_grant@localhost;
14
grant drop on test.* to rpl_ignore_grant@localhost;
15
show grants for rpl_ignore_grant@localhost;
16
Grants for rpl_ignore_grant@localhost
17
GRANT SELECT ON *.* TO 'rpl_ignore_grant'@'localhost'
18
GRANT DROP ON `test`.* TO 'rpl_ignore_grant'@'localhost'
19
show grants for rpl_ignore_grant@localhost;
20
ERROR 42000: There is no such grant defined for user 'rpl_ignore_grant' on host 'localhost'
21
select count(*) from mysql.user where user=_binary'rpl_ignore_grant';
24
select count(*) from mysql.db where user=_binary'rpl_ignore_grant';
27
grant select on *.* to rpl_ignore_grant@localhost;
28
set password for rpl_ignore_grant@localhost=password("does it work?");
29
select password<>_binary'' from mysql.user where user=_binary'rpl_ignore_grant';
32
delete from mysql.user where user=_binary'rpl_ignore_grant';
33
delete from mysql.db where user=_binary'rpl_ignore_grant';
35
delete from mysql.user where user=_binary'rpl_ignore_grant';
36
delete from mysql.db where user=_binary'rpl_ignore_grant';