##我也出了这个错误,看别人的文章解决的
文章原文链接:http://blog.csdn.net/lwei_998/article/details/41210945
在一台主机上增加一个slave,启动的时候报
[ERROR] Slave SQL: Slave failed to initialize relay log info structure from the repository, Error_code: 1872
原因:检查my.cnf,原来没指定relay_log,mysql默认产生的relay_log名被该server上的另一个mysql slave占用了。
解决方法:
1.在my.cnf中添加
relay_log=/db/mysql56/logs/relay_98_3326
下一篇:DBA不等于全能