码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2020-07-08 13:38:35      阅读:65      评论:0      收藏:0      [点我收藏+]

标签:报错   mysql复制   slave   info   init   eset   initial   重启   pos   

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

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 status\G

 

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

标签:报错   mysql复制   slave   info   init   eset   initial   重启   pos   

原文地址:https://www.cnblogs.com/-mrl/p/13266269.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!