Shell script to restart MySQL server if it is killed or not working

Originally published at: http://bash.cyberciti.biz/monitoring/monitor-mysql-server-shell-script/

A Shell script to restart MySQL server if it is killed or not working due to ANY causes.


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki