7
# This test uses the -slave.opt file to start the slave with
10
--source include/not_windows.inc
12
--let $rpl_skip_start_slave= 1
13
--source include/master-slave.inc
16
--let $slave_datadir= `SELECT @@datadir`
18
--remove_file $slave_datadir/master.info
19
--write_file $slave_datadir/master.info
31
grant replication slave on *.* to replicate@localhost identified by 'aaaaaaaaaaaaaaab';
32
grant replication slave on *.* to replicate@127.0.0.1 identified by 'aaaaaaaaaaaaaaab';
34
--source include/start_slave.inc
37
create table t1(n int);
38
insert into t1 values(24);
39
sync_slave_with_master;
43
delete from mysql.user where user="replicate";
46
--source include/rpl_end.inc
48
--source include/force_restart.inc