MySQL Forums
Forum List  »  Replication

Re: Start slave fails
Posted by: Kanwar Plaha
Date: March 24, 2010 05:40PM

Hi Monica,
The error message indicates that a query has failed to successfully execute on the slave. Each time I try to skip over the failing query, it again stops at the next one. Here is an extract from the slave logfile (some data changed to protect the client's interest):




100324 15:19:04 Slave: error running query 'insert into pctEvents values (0,424236254,'TRIGGER',now(),'******','NONE','NONE','0424236254 has just triggered','58',11020751,2000,'0000-00-00 00:00:00',0,'','108960223','MA******T','',2)'
100324 15:19:04 Error running query, slave aborted. Fix the problem, and re-start the slave thread with "mysqladmin start-slave". We stopped at log 'vfaul139-bin.086' position 325196853
100324 15:19:04 Slave thread exiting, replication stopped in log 'vfaul139-bin.086' at position 325196853
100324 15:19:24 Slave: connected to master 'repl@vfaul139:3306', replication started in log 'vfaul139-bin.086' at position 325196853
ERROR: 1062 Duplicate entry '' for key 2
100324 15:19:24 Slave: error running query 'insert into smss values(0,"61424236254",1,1,"******",5,1,"Congrats! Descriptive sentence",0,0,"NO",0,0,1,0,unix_timestamp(),0,"",0,"$$$$$$")'
100324 15:19:24 Error running query, slave aborted. Fix the problem, and re-start the slave thread with "mysqladmin start-slave". We stopped at log 'vfaul139-bin.086' position 325197115

Options: ReplyQuote


Subject
Views
Written By
Posted
3543
March 23, 2010 06:51PM
1510
March 24, 2010 09:10AM
Re: Start slave fails
1685
March 24, 2010 05:40PM
1370
March 26, 2010 11:26PM
1478
March 27, 2010 05:19AM
1368
March 27, 2010 10:04AM
1610
March 27, 2010 05:00PM
1444
March 27, 2010 09:35PM
1347
March 28, 2010 05:14PM


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.