Scripting
Read More
Shell script to restart MySQL server if it is killed or not working due to ANY cause
#!/bin/bash # Shell script to restart MySQL server if it is killed or not working # due to ANY cause. # When script detects mysql is not running (it basically sends ping request # to MySQL) it try to start using /etc/init.d/mysql script; and it sends an # email to user indicating the status. # […]