Upgrading the MySQL version on cPanel

On cPanel servers, to use the latest stable MySQL release from mysql.com instead of the version installed by default:

  1. Open the cPanel configuration file:

    nano /var/cpanel/cpanel.config
    
  2. Edit the mysql-version=X.X line to match the stable release on mysql.com. For example:

    mysql-version=5.5
    
  3. Finish with this command:

    /scripts/mysqlup
    
Was this article helpful?