MySQL Forums
Forum List  »  Stored Procedures

need stored proc code to restart a Slave when it stops
Posted by: Joe Petronio
Date: September 21, 2010 03:03PM

I'm trying to write a stored procedure that will detect when my SLAVE has stopped and then issue a START SLAVE automatically. I want to create a scheduled EVENT to run every 30 minutes, that will call this proc. How do I detect a stopped slave from within a proc ?

Thanks,

Joe P.

Options: ReplyQuote


Subject
Views
Written By
Posted
need stored proc code to restart a Slave when it stops
1741
September 21, 2010 03:03PM


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.