2003-08-18 23:08:08 +02:00
|
|
|
stop slave;
|
2003-07-08 15:50:57 +02:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2003-08-18 23:08:08 +02:00
|
|
|
start slave;
|
2003-07-08 15:50:57 +02:00
|
|
|
create table t1 (a int primary key);
|
|
|
|
insert into t1 values (1),(1);
|
2003-08-18 23:08:08 +02:00
|
|
|
ERROR 23000: Duplicate entry '1' for key 1
|
2003-07-08 15:50:57 +02:00
|
|
|
show slave status;
|
2003-09-14 15:18:38 +02:00
|
|
|
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Replicate_do_table Replicate_ignore_table Replicate_wild_do_table Replicate_wild_ignore_table Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space Until_condition Until_Log_File Until_Log_pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key
|
|
|
|
127.0.0.1 root MASTER_PORT 1 master-bin.000001 213 slave-relay-bin.000002 257 master-bin.000001 Yes Yes test.t1 0 0 213 257 None 0 No
|
2003-07-08 15:50:57 +02:00
|
|
|
show tables like 't1';
|
|
|
|
Tables_in_test (t1)
|
|
|
|
drop table t1;
|