You can follow one of the following ways to upgrade MySQL version in cPanel:
1. Using WHM:
We can upgrade using WebHost Manager (WHM) via the following menu path:
WHM: Main >> Software >> MySQL Upgrade
2. Via Command line:
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
Run the following cPanel script :
root# /scripts/check_cpanel_rpms –fix
Check the version:
root# mysqladmin --version
--
No comments:
Post a Comment