Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Upgrade MySQL in cPanel – Easy Method  (Read 2338 times)

0 Members and 1 Guest are viewing this topic.

vinodt

  • Guest
Upgrade MySQL in cPanel – Easy Method
« 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