MySQL Forums
Forum List  »  Replication

Re: Replication breaks
Posted by: James Day
Date: November 22, 2005 09:49PM

1. This usually happens when a human gives a relay log position instead of an IO thread position to a CHANGE MASTER statement. that's diagnosed by looking at the end of the error log file on the slave and comparing the value at the last shutdown with the value being set.

2. You can generally fix this by using the correct position in a new CHANGE MASTER statement.

Sometimes it happens after there has been a RESET MASTER ont the master, erasing the required binary log files, or when they have been moved before replication hs finished with them.

The usual trick here is to examine the current settings with SHOW MASTER STATUS and SHOW SLAVE STATUS and compare to what is in the error logs, looking for inconsistencies.

James Day
Support engineer, MySQL AB

Options: ReplyQuote


Subject
Views
Written By
Posted
2891
November 16, 2005 04:03AM
Re: Replication breaks
1750
November 22, 2005 09:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.