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

来源:互联网 发布:淘宝3c证书号要怎么填 编辑:程序博客网 时间:2024/05/20 02:51

安装参考:

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这个文件,然后决定修改哪个,

阅读全文
0 0