MySQL Server Upgrades
MySQL HeatWave Service supports automatic and manual upgrades.
- Automatic upgrades:
- If the MySQL Server version is running a deprecated version, MySQL HeatWave Service automatically upgrades the version during the maintenance window. For example, if the MySQL Server version is 8.0.33, which is deprecated, the service automatically upgrades to the latest patch release. If the MySQL Server version is 8.1.0, and if the version is deprecated, the service automatically upgrades to the latest innovation release.
- Upgrade versions, such as 8.0.*-u1, are applied automatically during the maintenance window that you define on the DB system. The upgrade versions contain critical patches such as security and stability fixes.
- Manual upgrades: You can manually upgrade the version using the
Console or the CLI. See Manually Upgrading a MySQL Server.
Note
It is recommended to perform a full backup before upgrading the DB system.
Using the Console
Use the Console to manually upgrade the MySQL Server of the DB system.
This task requires the following:
- A running DB system with an available upgrade version.
Note
It is recommended to perform a full backup of the DB system before upgrading. See Creating a Manual Backup.
It is recommended to perform a full backup of the DB system before upgrading. See Creating a Manual Backup.
Do the following to upgrade the MySQL Server:
The DB system enters the
UPDATING
state while the MySQL Server
is upgraded.
Using the CLI
Use the command-line interface to manually upgrade the MySQL Server of the DB system. You can upgrade to the same version of the MySQL Server (to get the latest service updates), but you cannot downgrade to an earlier version.
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.
Note
It is recommended to perform a full backup of the DB system before upgrading. See Creating a Manual Backup.
It is recommended to perform a full backup of the DB system before upgrading. See Creating a Manual Backup.
Do the following to upgrade the MySQL Server of the DB system:
The status of the DB system changes to
UPDATING
and
subequently the MySQL version changes to 8.0.33.