DB System Upgrades
MySQL HeatWave Service supports automatic and manual upgrades.
- Automatic upgrades:
- Updates within the same version, such as 8.0.33-u1, are applied automatically during the maintenance window that you define on the DB system. The update versions contain critical patches such as security and stability fixes.
- A deprecated version becomes unavailable about three months after the deprecation date. See MySQL Versions Deprecation and Removal Policy in MySQL HeatWave Service. Any DB system that is still running an unavailable version will be upgraded automatically in its next maintenance window, according to the maintenance policy defined on the DB System.
- For an Always Free DB system, the maintenance process will always upgrade the database version to the highest version available.
- Manual upgrades: You can manually upgrade the version. See:
Note
It is recommended to perform a full backup of the DB system before upgrading. See Creating a Manual Backup.
Related Topics
Manually Upgrading a DB System
Use the Console or CLI to manually upgrade a DB system to a higher version. You can upgrade to the same version (to get the latest security and critical fixes), but you cannot downgrade to an earlier version.
Note
If you want to perform a major version upgrade such as MySQL 8.0 to MySQL 8.4, you should check the changes before upgrading. See Major Version Upgrade.
If you want to perform a major version upgrade such as MySQL 8.0 to MySQL 8.4, you should check the changes before upgrading. See Major Version Upgrade.
- Using the Console
- Using the CLI
- Using the REST API, run the UpdateDbSystem operation with
the
mysqlVersionattribute.
Using the Console
Use the Console to manually upgrade the DB system.
This task requires the following:
- A running DB system.
Do the following to upgrade the DB system:
The DB system enters the
UPDATING state while it is
being upgraded.
Using the CLI
Use the command-line interface to manually upgrade the DB system.
This task requires the following:
- A compartment Oracle Cloud Identifier (OCID).
- A DB system OCID.
- A properly configured CLI installation. See Command Line Interface.
- A properly configured VCN. See Creating a Virtual Cloud Network.
Do the following to upgrade the DB system:
After you run the CLI command, the status of the DB system
changes to
UPDATING and subsequently the version changes to
the specified target MySQL version.