Add check for mysql version in /var/cpanel/cpanel.config and see if it matches the installed RPM