Slave failed to initialize relay log info structure from the repository

现象

查看slave 服务状态

show slave status\G;

错误

Last_Errno: 1872
Last_Error: Slave failed to initialize relay log info structure from the repository

原因

由于my.cnf 配置中,relay_log 文件名发生了变化。

解决

stop slave;
reset slave;
start slave;
show slave status;       #查看最新状态, 发现已经恢复正常
posted @ 2015-08-17 20:22  brookin  阅读(744)  评论(0)    收藏  举报