mysql主从复制丛库IO进程问题

配置mysql主从复制,启动slave进程后查看slave状态是IO进程报错:
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).

原因:丛库server-id参数和主库相同,需要修改为其它值,并重启丛库(此案例中修改后没有重启)

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30373263/viewspace-2121796/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30373263/viewspace-2121796/

你可能感兴趣的:(mysql主从复制丛库IO进程问题)