本文内容遵从CC版权协议, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址: http://www.penglixun.com/tech/database/relay-log-read-failure.html
今天遇到MySQL服务器报了一个从来没见过的复制错误:
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.
…
[获取更多]