How do I reset the master user password for my Amazon RDS DB instance?
Last updated: 2020-08-25
How do I reset the master user password for my Amazon Relational Database Service (Amazon RDS) DB instance?
You can change the master user password for your Amazon RDS DB instance by using the Amazon RDS console.
For clustered systems, such as Amazon Aurora, reset the password for any RDS DB instance in the cluster with a Writer or Reader role. Then, choose Apply Immediately. The password change is asynchronous, and applies as soon as possible, so the RDS DB instance does not require a restart.
Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version.
To modify the master user password, follow these steps:
- Open the Amazon RDS console.
- Select Databases.
- Select the RDS DB instance, and then choose Modify.
Note: If you use Aurora, expand the cluster, and choose the instance that you want to modify. Then, choose Modify.
- Enter the master user password you want to use in the New Master Password field.
Note: The password change is asynchronous, and applies as soon as possible. This change ignores the Apply Immediately setting.
- Choose Continue, and then choose Modify DB Instance.
The Status field for your RDS DB instance on the RDS dashboard changes to resetting-master-credentials. When the modification is complete, the Status column changes to Available. You can also modify an RDS DB instance using the Amazon RDS API or the AWS Command Line Interface (AWS CLI).