最近mysql slave上频发'Relay log read failure'错误

netxuning 2012-02-23 03:04:11
哪怕是在master上执行了alter table的操作都会导致同步产生如下错误:
Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's
binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can
check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave.

然后再很麻烦地恢复同步。以前并不这样 。。。
...全文
119 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
喂马 2012-03-06
  • 打赏
  • 举报
回复
建议将之前的binlog备份后,清空
netxuning 2012-02-24
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 rucypli 的回复:]

最近做过什么大的变动没 比如新增加一台slave,重启数据库,修改动态参数之类的
[/Quote]

上礼拜主从互换了一次
rucypli 2012-02-23
  • 打赏
  • 举报
回复
最近做过什么大的变动没 比如新增加一台slave,重启数据库,修改动态参数之类的

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧