MySQL Forums
Forum List  »  Replication

slave-skip-errors=1062 not working
Posted by: John Mancuso
Date: March 10, 2007 09:17PM

I have 1 master and 1 slave and I get the following error.
Last_Errno: 1062
Last_Error: Error 'Duplicate entry '55997' for key 1' on query.

When I set slave-skip-errors=1062 in my.cnf replication just stops and gives no error in the logs. I can't seem to get it to simply skip over it. I know I can use set global sql_slave_skip_counter=x but I don't want to go that route.

Anyone know why slave-skip-errors=1062 is not skipping over this error, only stopping replication?

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
slave-skip-errors=1062 not working
24021
March 10, 2007 09:17PM


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.