0
点赞
收藏
分享

微信扫一扫

mysql主从报错:Last_Error: Slave failed to initialize relay log info structure from the repository

zhaoxj0217 2022-03-31 阅读 48

报错信息

  • show slave status\G查看如下
    Last_Error: Slave failed to initialize relay log info structure from the repository
  • error.log查看如下
    2022-03-31T02:54:04.925947Z 0 [ERROR] [MY-011059] [Repl] Could not find target log file mentioned in relay log info in the index file '/usr/local/mysql/logs/mysql-relay-bin.index' during relay log initialization.

原因

之前配置主从失败,再次配置导致的错误

解决办法


mysql> reset slave;
mysql> start slave;
``
举报

相关推荐

0 条评论