Auto Restart Mysql / MariaDB Using Monit In Ubuntu With EasyEngine

Install Monit

Configure Monit to Monitor MySQL / MariaDB

Enable Monit service at boot time