MySQL Forums
Forum List  »  Replication

Re: error 1236 - missing file, but file still exists!
Posted by: Irfan Ali
Date: August 19, 2012 03:49PM

It look likes slave has forgotten replication positions.

Note down Exec_Master_Log_Pos from show slave status from slave.
and search noted position in master binary log noted from show slave status Relay_Master_Log_File value.

Once you find that position in master binary log via
master$ mysqlbinlog binlog-name | less
search for position

find
than

come to slave.
RESET SLAVE and restart replication from that position via CHANGE MASTER TO command

Somehow, if noted positon of slave didn't come up on master binary log than that's the problem and you need to manually verify till the position at which positon slave had replicated (via queries) and reset slave from that position but that's risky or you can reclone slave.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: error 1236 - missing file, but file still exists!
1174
August 19, 2012 03: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.