Resetting the Administrator Password
Scenarios
For security reasons, you are advised to periodically change administrator passwords.
If you do not set the administrator password for the DB instance that you are creating, you need to reset the password before connecting to the DB instance.
You cannot reset the administrator password under the following circumstances:
- Frozen
- Restarting
- Adding node
- Switching SSL
- Changing port
- Changing instance class
- Deleting node
Background
If you enable operation protection to improve the security of your account and cloud products, two-factor authentication is required for sensitive operations. For details about how to enable operation protection, see Critical Operations in the Identity and Access Management User Guide.
Method 1
- Log in to the DDS console.
- On the Instance Management page, locate the target DB instance and choose in the Operation column.
- Enter and confirm the new administrator password and click OK.
The password is a string of 8 to 32 characters. It must be a combination of uppercase letters, lowercase letters, digits, and special characters. You can also use the following special characters: ~!@#%^*-_=+?
- If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify to close the page.
Method 2
- Log in to the DDS console.
- On the Instance Management page, click the target DB instance.
- In the DB Information area on the Basic Information page, click Reset Password to the right of the Administrator field.
- Enter and confirm the new administrator password and click OK.
The password is a string of 8 to 32 characters. It must be a combination of uppercase letters, lowercase letters, digits, and special characters. You can also use the following special characters: ~!@#%^*-_=+?
- If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify to close the page.
Last Article: Creating a Database Using Commands
Next Article: Instance Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.