MySQL复制报错(Slave failed to initialize relay log info structure from the repository)

Posted 一个人的孤独自白

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL复制报错(Slave failed to initialize relay log info structure from the repository)相关的知识,希望对你有一定的参考价值。

机器重启以后,主从出现了问题,具体报错信息:

Slave failed to initialize relay log info structure from the repository

解决方案:

mysql> start slave;
ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
mysql>  reset slave;
Query OK, 0 rows affected (0.04 sec)

mysql> start slave IO_THREAD;
Query OK, 0 rows affected (0.07 sec)

mysql> stop slave IO_THREAD;
Query OK, 0 rows affected (0.01 sec)

mysql> reset slave;
Query OK, 0 rows affected (0.10 sec)

mysql> start slave;
Query OK, 0 rows affected (0.20 sec)

mysql> show slave statusG

 

以上是关于MySQL复制报错(Slave failed to initialize relay log info structure from the repository)的主要内容,如果未能解决你的问题,请参考以下文章

mysql报错1872: Slave failed to initialize relay log info structure from the repository

MySQL复制ERROR 1794 (HY000): Slave is not configured or failed to initialize properly.

ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository

MySQL 跨版本主从复制时报错:ERROR 1794 (HY000): Slave is not configured or failed to initialize properly.

主从复制时报:ERROR 1794 (HY000): Slave is not configured or failed to initialize properly. You must at lea

故障处理ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository(示例(代