Resetting a Password for a Database Account

Scenarios

You can reset passwords for the accounts you have created. To protect your DB instance against brute force cracking, change your password periodically, such as every three or six months.

Constraints

This operation is not allowed when another operation is being performed on your DB instance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Databases, click GaussDB(for MySQL).
  4. On the Instances page, click the target DB instance.
  5. In the navigation pane, choose Accounts. On the displayed page, locate the target username and click Reset Password in the Operation column.
  6. In the displayed dialog box, enter a new password and confirm the password.

    The password must:

    • Consist of 8 to 32 characters.
    • Contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and the following special characters: ~!@#$%^*-_=+?,()&|.
    • Comply with the values of validate_password parameters.

      To check the parameter values, click a DB instance name, choose Parameters in the navigation pane, and search for validate_password in the upper right corner of the page.

    • Be the same as that you entered in the Password text box.
    • Cannot be the username or the username spelled backwards.

  7. Click OK.