If you have mysql-governor installed, all mysql upgrades and version changes should be changed using mysql-governor tools, e.g. http://docs.cloudlinux.com/change_mysql_version.html

On cPanel servers, when ‘mysqlgovernor.py –install’ is executed we create a file /var/cpanel/rpm.versions.d/cloudlinux.versions

The file is needed to disable management of mysql related packages provided by cPanel and allow mysql-governor to manage them.

usr/local/cpanel/scripts/update_local_rpm_versions--edit target_settings.MySQL50 unmanaged
/usr/local/cpanel/scripts/update_local_rpm_versions--edit target_settings.MySQL51 unmanaged
/usr/local/cpanel/scripts/update_local_rpm_versions--edit target_settings.MySQL55 unmanaged
/usr/local/cpanel/scripts/update_local_rpm_versions--edit target_settings.MySQL56 unmanaged
/usr/local/cpanel/scripts/update_local_rpm_versions--edit target_settings.MariaDB100 unmanaged


If you want to restore the original cPanel-provided mysql packages after removing mysql-governor, please run the following commands:

usr/local/cpanel/scripts/update_local_rpm_versions--del target_settings.MySQL50
/usr/local/cpanel/scripts/update_local_rpm_versions--del target_settings.MySQL51
/usr/local/cpanel/scripts/update_local_rpm_versions--del target_settings.MySQL55
/usr/local/cpanel/scripts/update_local_rpm_versions--del target_settings.MySQL56
/usr/local/cpanel/scripts/update_local_rpm_versions--del target_settings.MariaDB100

and then run:

/scripts/upcp--force
Was this answer helpful? 0 Users Found This Useful (0 Votes)