Create a privileged account

Updated at:

This topic describes how to create a privileged account for a Private Custom RDS instance in the console.

Precautions

  • You can create and manage privileged accounts only in the console or by calling API operations.

  • Each instance supports only one privileged account. A privileged account can manage all standard accounts and databases, and has full permissions on all databases of the instance.

  • A privileged account can disconnect any account. You can use a privileged account to implement custom and fine-grained permission management. For example, you can grant the query permissions on different tables to different users.

Procedure

  1. Log on to the PolarDB-X 1.0 console.

  2. In the upper-left corner of the page, select the region where the target instance is deployed.

  3. Find the target PolarDB-X 1.0 instance and click the instance ID.

  4. In the left-side navigation pane, choose Configuration and Management > Private RDS Instances.

  5. Find the target Private Custom RDS instance and click the instance ID.

  6. In the Configuration Information section, click Create Account.

  7. In the dialog box that appears, configure the following parameters:

    Parameter

    Description

    Database Account

    Enter the account name. The name must meet the following requirements:

    • The account name must be 4 to 20 characters in length.

    • The account name must start with a letter and can contain only uppercase letters, lowercase letters, digits, and underscores (_).

    Account Type

    Fixed to Privileged Account. No selection is required.

    Note

    To create a standard account, log on to the target database by using the privileged account and execute SQL statements. For more information, see Basic SQL operations.

    New password

    Set the account password. The password must meet the following requirements:

    • The password must be 8 to 32 characters in length.

    • The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.

    • Special characters:

      !@#$%^&*()_+-=

    Confirm password

    Enter the password again to confirm.

  8. Click OK.