Introduction
This article provides the procedure to upgrade MySQL/MariaDB to a newer major version.
You should always perform a full database backup before you begin an upgrade.
Procedure
Please note that CloudLinux servers using MySQL Governor must use the mysqlgovernor.py script to upgrade the SQL installation.
- Log in to WHM as the ‘root’ user.
- Navigate to "Home / Database Services / Upgrade Database Version".
- Select the version to upgrade to.
- Click the "Continue" button.
- Review any warnings.
- Click the checkbox next to each warning to indicate that you understand the potential consequences of this upgrade.
- Click the "Continue" button.
- Select the "Unattended Upgrade" option.
- Click the "Continue" button.
Please note that the upgrade log can be reviewed in the directory '/var/cpanel/logs/mysql_upgrade.$date-variable', where the value date and variable will be replaced with the current date(i.e., YearMonthDay) and a randomized series of numbers.
Additional Resources
How do I backup MySQL databases prior to upgrading to a new version
Comments
0 comments
Article is closed for comments.