UPGRADE MYSQL 5.1 TO 5.5 ON CLOUDLINUX SERVER

How to install new package:
1) yum install governor-mysql –enablerepo=cloudlinux-

updates-testing
2) /usr/share/lve/dbgovernor/mysqlgovernor.py –install

One important note:
if you have installed MariDB on the server, on installation do:
1) yum install governor-mysql –enablerepo=cloudlinux-updates-testing
2) /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mariadb55
3) /usr/share/lve/dbgovernor/mysqlgovernor.py –install

How to upgrade:
1) yum upd ate governor-mysql –enablerepo=cloudlinux-updates-testing

Now in governor is available database type selection utility:
[~]# /usr/share/lve/dbgovernor/db-select-mysql –help
Usage: db-select-mysql [options]
options:
–mysql-version=<mysql type> or -m <mysql type>     se t version of mysql
mysql type: auto, mysql50, mysql51, mysql55, mariadb55
–install-now           if need reinstall mysql now
–current-mysql         show current installed mysql
–current-running-mysql       show current running mysql

For upgradeing 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

For installation of MariaDB 5.5, you should to do:
1) /usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mariadb55
2) /usr/share/lve/dbgovernor/db-select-mysql –install-now
3) for cPanel can be needed to rebuild php through easyapache

Available type of DB:
auto – install MySQL as earlier(default for CL5 & CL6 and according to options of cPanel)

mysql50 – cl-MySQL-5.0
mysql51 – cl-MySQL-5.1
mysql55 – cl-MySQL-5.5
mariadb55 – cl-mariadb-5.5

Script installs mysqlclient1x – for backward compatibility

info from cloudlinux staff.