How to upgrade mysql with cloudlinux and cpanel


Using the mysql upgrade option in cpanel will not work with cloud Linux

Please make sure to take backup of mysql folder in tar as well as .sql format.

For upgrading to MySQL 5.5(for example), you should to do:

/usr/share/lve/dbgovernor/db-select-mysql –mysql-version=mysql55
/usr/share/lve/dbgovernor/db-select-mysql –install-now

That’s it

root@bima [~]# mysql -V
mysql Ver 14.14 Distrib 5.5.34, for Linux (x86_64) using readline 5.1
root@bima [~]#

Recompile apache/php after mysql upgrade.

eLite Server Management
 We Specialize In cPanel Server Management
Affordable 24/7 Technical Support Company