# Upgrading the MySQL version on cPanel

Source: <https://beta.dedicated.com.tr/en/kb/upgrading-mysql-version-on-cpanel>  
Last updated: 2026-11-28

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:

   ```bash
   nano /var/cpanel/cpanel.config
   ```

2. Edit the `mysql-version=X.X` line to match the stable release on mysql.com. For example:

   ```text
   mysql-version=5.5
   ```

3. Finish with this command:

   ```bash
   /scripts/mysqlup
   ```
