All Products
Search
Document Center

PolarDB:Create an account

Last Updated:May 14, 2024

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 for Xscale console.

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

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

  4. Find the target instance and click its ID.

  5. In the left-side navigation pane, choose ConfigurationManagement > Account Management.

  6. Click Create an account. In the panel that appears, configure the parameters.

    Parameter

    Description

    Account name

    The username of the account.

    Note

    The username must meet the following requirements:

    • The username can be up to 16 characters in length and can contain lowercase letters, digits, and underscores (_).

    • The username must start with a lowercase letter and end with a lowercase letter or a digit.

    • The username must be unique and cannot be the same as the username of an existing account.

    Account types

    The type of the account. You can specify the account to be a privileged account or standard account.

    Authorization database

    The databases that can be accessed by using the credential of the account. You can specify one or more databases.

    1. Select one or more databases and click the 456789 icon to move the selected databases from the Unauthorized database section on the left side to the Authorized database section on the right side.

    2. In the Authorized database section, select the database permissions that you want to grant to the account.

    Note
    • This parameter is available only when you create a standard account.

    • This parameter is optional. You can grant permissions to the account after the account is created.

    • Supported permissions: Read and Write, Read Only, DML Only, and DDL Only.

    • If you want to grant the same permissions on all selected databases, click the permission name such as All Read and Write next to Authorized database.

    Password

    The password of the account.

    Note

    The password must meet the following requirements:

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

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

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

    Confirm password

    Enter the same password to confirm the password.

    Descr

    Optional. The description of the account. The description can help you identify the account. The description can be up to 256 characters in length.

  7. Click OK.