Changing the Administrator Password of a DB System
You can change the administrator password of a DB system.
- Using the Console
- Using the CLI
- Using the REST API, run the UpdateDbSystem operation with the
adminPasswordattribute.
Using the Console
You can change the administrator password using the Administrator password console action for the DB system.
This task requires the following:
- You have
MYSQL_INSTANCE_UPDATEIAM permission.
Do the following to change the administrator password of a DB system:
MySQL HeatWave Service updates the administrator password of the DB system.
Using the CLI
Use the command-line interface to change the administrator password of a DB system.
This task requires the following:
- A DB system Oracle Cloud Identifier (OCID).
- A policy that permits you to update DB systems in the compartment or tenancy.
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
Do the following on the CLI to change the administrator password of a DB system:
MySQL HeatWave Service updates the administrator password of the DB system.