MySQL masterandslavehaveequalMySQLserverUUIDs
今天从一个slave备份出来数据,想再创建一个slave,启动后报错:
-
Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work.
错误原因是直接备份的slave文件,导致uuid相同了,uuid是MySQL5.6引入的机制,必须在主从之间不一致
解决办法就是,删除data下的auto.cnf文件,重启数据库。
文章标题:MySQL masterandslavehaveequalMySQLserverUUIDs
转载源于:
http://dzwzjz.com/article/iiphds.html