1
by brian
clean slate |
1 |
stop slave; |
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; |
|
3 |
reset master; |
|
4 |
reset slave; |
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; |
|
6 |
start slave; |
|
7 |
reset master; |
|
8 |
create table test.t1(a int, b int, unique(b)); |
|
9 |
load data infile '../std_data_ln/rpl_loaddata.dat' into table test.t1; |
|
10 |
select count(*) from test.t1; |
|
11 |
count(*) |
|
12 |
2
|
|
13 |
show binlog events from <binlog_start>; |
|
14 |
Log_name Pos Event_type Server_id End_log_pos Info |
|
15 |
drop table test.t1; |