| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
call mtr.add_suppression("Slave I/O: The slave I/O thread stops because a fatal error is encountered when it tried to SET @master_binlog_checksum"); |
| 4 |
connection master; |
| 5 |
create table t1(n int); |
| 6 |
connection slave; |
| 7 |
select * from t1; |
| 8 |
n |
| 9 |
stop slave sql_thread; |
| 10 |
connection master; |
| 11 |
insert into t1 values(1); |
| 12 |
insert into t1 values(2); |
| 13 |
connection slave; |
| 14 |
include/wait_for_slave_param.inc [Read_Master_Log_Pos] |
| 15 |
include/stop_slave.inc |
| 16 |
change master to master_user='root'; |
| 17 |
start slave; |
| 18 |
select * from t1; |
| 19 |
n |
| 20 |
1 |
| 21 |
2 |
| 22 |
connection master; |
| 23 |
drop table t1; |
| 24 |
connection slave; |
| 25 |
connection master; |
| 26 |
CHANGE MASTER TO MASTER_USER='root', MASTER_SSL=0, MASTER_SSL_CA='', MASTER_SSL_CERT='', |
| 27 |
MASTER_SSL_KEY='', MASTER_SSL_CRL='', MASTER_SSL_CRLPATH=''; |
| 28 |
CHANGE MASTER TO MASTER_USER='root', MASTER_PASSWORD='', MASTER_SSL=0; |
| 29 |
include/rpl_end.inc |