Hi,
Is anyone know how to do a chekcing routine to make sure the MySQL service is always up?
Thanks Louis
Which operating system?
Linux Redhat 7.x
Use cron and connect to db using mysql in batch mode (mysql < batch-file > mysql.out), and in the case of any error, restart mysql automatically
Hi Hand,
Can you please list out the step for me to add in the crontab?
Appreciate that.
Thanks louis