You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to manual purge the relay log on MHA second master, my command as below:
purge_relay_logs --user=root --password=123123 --port=3306
-disable_relay_log_purge --workdir=/usr/local/mysql/data/ >>
/usr/local/mysql/data/purge_relay_logs.log 2>&1
after run the command, will clear all of my relay logs, then my replication
crashed and get this error:
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.
Anybody can tell me how to clear those relay logs on MHA? thanks.
Best Regards
Garey
Original issue reported on code.google.com by [email protected] on 2 Mar 2015 at 8:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 2 Mar 2015 at 8:08The text was updated successfully, but these errors were encountered: