Mysql Server1 is running as MASTER. -- server id =1
Mysql Server2 is running as SLAVE. -- server id =2
现在,DB复制正在从MASTER发生到SLAVE。
Switch:
现在,当我在Server2上停止Slave并将Server1配置为Slave(通过命令CHANGE MASTER TO MASTER_HOST =')并在server1上启动Slave时,复制失败并出现以下错误:
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).
我正在使用MYSQL
请帮助我作为MYSQL的新手。