NDCHost released updated version 11.0 on 13th January 2020 which you can install easy.
cd /usr/src
wget http://download.ndchost.com/watchmysql/latest-watchmysql
sh latest-watchmysql
watchmysql for PHP 7.x - cPanel Plugin (based on https://www.ndchost.com/cpanel-whm/addons/watchmysql/)
I am not the owner of the original code. The original author is NDCHost (https://www.ndchost.com/cpanel-whm/addons/watchmysql/). I used this cPanel Plugin in many servers and I found out that it doesn't work for servers that have PHP 7.x installed. It was throwing an internal server error so I decided to look the code and make a fix. I am sure many people are looking for a working version.
-
mkdir /usr/src/watchmysql
-
cd /usr/src/watchmysql
-
git clone https://github.com/konstantinosbotonakis/watchmysql.git
-
sh ./watchmysql/install
- 10.1 - Added PHP 7.x support and MySQLi