How to upgrade mysql with cloudlinux and cpanel

Using the mysql upgrade option in cpanel will not work with cloud Linux. It’s also a little different than what the Cloudlinux site says.

How to install new package:
1) yum install governor-mysql –enablerepo=cloudlinux-updates-testing
2) /usr/share/lve/dbgovernor/mysqlgovernor.py –install

For upgrading to MySQL 5.5(for example), you should to do:
1) /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mysql55
2) /usr/share/lve/dbgovernor/db-select-mysql –install-now
3) for cPanel can be needed to rebuild php through easyapache

Converting CentOS 5.x or 6.x to CloudLinux (with cPanel & WHM installed)

Converting CentOS 5.x or 6.x to CloudLinux (with cPanel & WHM installed)

If you wish to convert from CentOS 5.x or 6.x to CloudLinux, have already installed cPanel & WHM, and own an IP-based CloudLinux license, run these commands:

/usr/local/cpanel/cpkeyclt
/usr/local/cpanel/bin/cloudlinux_system_install -k
reboot
/usr/local/cpanel/scripts/easyapache –build

If you wish to convert from CentOS 5.x or 6.x to CloudLinux, have already installed cPanel & WHM, and own a CloudLinux license key, run these commands:

wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cpanel2cl
sh cpanel2cl -k $key
Replace $key with your license key.
reboot
/scripts/easyapache –build

Starting Cloud Linux:

# lvectl ubc enable –save