mysql 主从配置以及 slave IO 启动失败解决 Fatal error: The slave IO thread stops because master and slave have

xiaoxiao2021-02-28  118

安装参考:

http://www.centoscn.com/mysql/2014/0610/3115.html

http://www.cnblogs.com/amuge/p/5863115.html

安装完成启动报错:

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.

结局办法就是修改mysql文件夹下的auto.cnf文件中的server-uuid值,修改完重启就行,这里由于我是centos新手,所以还修改了另一个地方的mysql下的server-uuid,以为不是这样修改其实是修改的文件不对,建议直接搜索一下

[root@localhost ~]# find / -name "auto.cnf"  看下都在那里有auto.cnf这个文件,然后决定修改哪个,

转载请注明原文地址: https://www.6miu.com/read-51836.html

最新回复(0)