首页 > 数据库技术 > 详细

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

时间:2018-01-17 22:17:51      阅读:1040      评论:0      收藏:0      [点我收藏+]

配置MySQL主从复制,遇到报错

 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

是因为主从服务器里auto.cnf中的server-uuid是相同的(服务器是复制过去的)。

把从服务器中的auto.cnf重命名或者删除,然后重新启动MySQL,会重新生成auto.cnf文件。

然后重新grant赋权,change master就ok了。

 

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

原文:https://www.cnblogs.com/xiaochongzi/p/8306413.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!