2004-05-05 21:24:21 +03:00
stop slave;
2004-04-28 18:24:46 +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;
2004-05-05 21:24:21 +03:00
start slave;
2004-04-28 18:24:46 +02:00
reset master;
stop slave;
2004-04-28 23:43:46 +02:00
change master to master_port=SLAVE_PORT;
2008-02-20 23:18:01 +02:00
start slave;
*** must be having the replicate-same-server-id IO thread error ***
2004-04-28 18:24:46 +02:00
show slave status;
2007-06-11 22:15:39 +02:00
Slave_IO_State
Master_Host 127.0.0.1
Master_User root
Master_Port SLAVE_PORT
Connect_Retry 1
Master_Log_File
Read_Master_Log_Pos 4
Relay_Log_File slave-relay-bin.000001
Relay_Log_Pos 4
Relay_Master_Log_File
Slave_IO_Running No
2008-02-20 23:18:01 +02:00
Slave_SQL_Running #
2007-06-11 22:15:39 +02:00
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table #
2008-02-20 23:18:01 +02:00
Last_Errno #
Last_Error #
2007-06-11 22:15:39 +02:00
Skip_Counter 0
Exec_Master_Log_Pos 0
Relay_Log_Space 106
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master NULL
Master_SSL_Verify_Server_Cert No
2008-02-20 23:18:01 +02:00
Last_IO_Errno 1593
Last_IO_Error Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).
Last_SQL_Errno #
Last_SQL_Error #