ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
Posted digdeep
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository相关的知识,希望对你有一定的参考价值。
线上一个mysql5.6主从复制被操作系统重启弄崩溃了。重新搭建主从复制时,
start slave io_thead;
start slave sql_thread;
之后,show slave statusG 报错:
ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
原因是,从库已经存在之前的relay log
解决方法:
stop slave;
reset slave;
set global gitd_purged=‘xxxxxx:xxxx‘;
start slave;
搞定。
以上是关于ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository的主要内容,如果未能解决你的问题,请参考以下文章
mysql 主从关系ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositor
故障处理ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository(示例(代
处理一则MySQL Slave环境出现ERROR 1201 (HY000): Could not initialize master info structure的案例。
mysql报错1872: Slave failed to initialize relay log info structure from the repository
ERROR 1794 (HY000): Slave is not configured or fai
MySQL复制ERROR 1794 (HY000): Slave is not configured or failed to initialize properly.