Create an account

Updated at:

You can create privileged accounts and standard accounts for PolarDB-X instances. This topic describes how to create an account.

Create an account

  1. Log on to the PolarDB-X console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. On the Instances page, click the PolarDB-X 2.0 tab.

  4. Find the instance and click Instance ID to go to the instance details page.

  5. In the navigation pane on the left, click Configuration and Management > Accounts.

  6. Click Create Account. In the dialog box that appears, configure the following parameters.

    Parameter

    Description

    Account Name

    Enter the name of the account.

    Note

    The account name must meet the following requirements:

    • Be 2 to 16 characters long and contain only lowercase letters, digits, and underscores (_).

    • Start with a letter and end with a letter or digit.

    • Be unique within the instance.

    Account Type

    Select Privileged Account or Standard Account.

    Authorization Database

    Grant permissions on one or more databases to the account.

    1. Select one or more databases and click the 1 icon to move them from the Unauthorized Databases list on the left to the Authorized Databases list on the right.

    2. In the Authorized Databases list on the right, select permissions for the target database.

    Note
    • This parameter is available only when you create a Standard Account.

    • This parameter is optional. You can also grant permissions after you create the account.

    • The supported permissions are Read and write, Read-only, DML Only, and DDL Only.

    • To grant the same permissions to multiple databases at once, click the corresponding button in the upper-right corner of the Authorized Databases list, such as All Read and Write.

    Password

    Set the password for the account.

    Note

    The password must meet the following requirements:

    • Be 8 to 20 characters long.

    • Contain characters from at least three of the following categories: uppercase letters, lowercase letters, digits, and special characters.

    • Special characters: @#$%^&+=

    Confirm Password

    Re-enter the password.

    Description

    Optional. Add a description for the account for easier management. The description can be up to 256 characters long.

  7. Click OK.