Database Account Security
Setting the Account Password Complexity
For information about the database password strength requirements on the RDS console, see the database configuration table in Buying a DB Instance.
- Consist of at least eight characters.
- Contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
When you are creating a DB instance, the password strength is checked. You can modify the password strength as user root. For security reasons, you are advised to use a password that is at least as strong as the default password.
Account Description
To provide O&M services, the system automatically creates system accounts when you create RDS for MySQL DB instances. These system accounts are unavailable to you.
Attempting to delete, rename, and change passwords or permissions for these accounts will result in an error. Exercise caution when performing these operations.
- rdsAdmin: the management account, which has the superuser permissions and is used to query and modify DB instance information, rectify faults, migrate data, and restore data.
- rdsRepl: the replication account, which is used to synchronize data from primary DB instances to standby DB instances or read replicas.
- rdsBackup: the backup account, which is used for backend backup.
- rdsMetric: the metric monitoring account, which is used by watchdog to collect database status data.
- rdsProxy: the proxy account, which is automatically created when read/write splitting is enabled and is used for authentication when a database is connected through a read/write splitting address.
Setting Password Complexity
- Log in to the management console.
- Click in the upper left corner and select a region.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the DB instance to navigate to the Overview page.
Passwords must:
- Consist of at least eight characters.
- Contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
- Must be different from the user name.
- In the navigation pane on the left, choose Parameters. On the displayed page, modify the required parameters.
The following parameters can be modified only for RDS for MySQL 5.6 and 5.7.
- validate_password_length: Set this parameter to 8.
- validate_password_mixed_case_count: Set this parameter to 1.
- validate_password_number_count: Set this parameter to 1.
- validate_password_special_char_count: Set this parameter to 1.
- validate_password_policy: Set this parameter to MEDIUM.
Check the value in the Effective upon Reboot column.- If the value is Yes and the DB instance status on the Instances page is Parameter change. Pending reboot, a reboot is required for the modifications to take effect.
- If you have modified parameters of a primary DB instance, you need to reboot the primary DB instance for the modifications to take effect. (For primary/standby DB instances, the parameter modifications are also applied to the standby DB instance.)
- If you have modified parameters of a read replica, you need to reboot the read replica for the modifications to take effect.
- If the value is No, the modifications take effect immediately.
- To save the modifications, click Save.
- To cancel the modifications, click Cancel.
- To preview the modifications, click Preview.
After parameters are modified, you can click Change History to view parameter modification details.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot