Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: vinodt on January 10, 2014, 10:21:39 am

Title: Upgrade MySQL in cPanel – Easy Method
Post by: vinodt on January 10, 2014, 10:21:39 am
See the MySQL version and info

root# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3949
Server version: 5.1.70-cll MySQL Community Server (GPL)

Now replace the 5.1 MySQl version with 5.5 in “/var/cpanel/cpanel.config”

root# sed -i 's/mysql-version=5.1/mysql-version=5.5/g' /var/cpanel/cpanel.config

Execute the script “/scripts/check_cpanel_rpms –fix”

Now check run the “mysql” command again to see the changes.

root# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.5.32-cll MySQL Community Server (GPL)

Regards,

Vinod T K