Random Project
MySQL

MySQL Replication Deadlock Recovery

2 (1)
77,755
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

Description

A shell script (/bin/sh) that connects to a specified MySQL slave database, check the replication status for Deadlock errors (Error 'Deadlock found when trying to get lock: try restarting transaction') + Automatically recover from the state by performing "SLAVE STOP; SLAVE START;" Required parameters: host, user, password. If no Deadlock is detected, "OK" is returned O/w, a message is printed and Warning state is returned. Suggestions are welcome, Moshe Kaplan


Project Details

Current Version

1.0

Last Release Date

2012-02-06

Owner

Moshe Kaplan

License

BSD

Recommend

To:


From: