All Products
Search
Document Center

PolarDB:Create a database account

Last Updated:Mar 28, 2026

PolarDB supports two types of database accounts: privileged and standard. This topic explains the difference between the two types and describes how to create an account in the PolarDB console.

Account types

PolarDB clusters use two account types with different permission scopes. You can create multiple accounts of either type per cluster. The type you choose determines what the account can do after creation.

Account typeCreation methodPermissionsManage other accounts
Privileged accountConsole or APIAll permissions on all databases in the cluster, including fine-grained user permission control (e.g., grant different users access to different tables)Yes — can manage and disconnect accounts
Standard accountConsole, API, or SQLOnly the permissions explicitly granted; maximum number of standard accounts depends on the database engineNo
Note Root accounts cannot be created in PolarDB for security reasons.

Create an account

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where your cluster is deployed.

  3. Find your cluster and click the cluster ID.

  4. In the left-side navigation pane, choose Settings and Management > Accounts.

  5. Click Create Account.

  6. In the Create Account pane, configure the following parameters.

    ParameterDescription
    Account nameEnter an account name that meets these requirements: starts with a lowercase letter; ends with a letter or digit; contains only lowercase letters, digits, and underscores (_); is 2–16 characters long; is not a reserved name (e.g., root or admin).
    Account typeSelect Privileged Account or Standard Account.
    PasswordEnter a password that meets these requirements: contains at least three of the following character types — uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=); is 8–32 characters long.
    Confirm passwordRe-enter the password.
    Description(Optional) Enter a description to help identify this account. Must start with a letter; can contain letters, digits, underscores (_), and hyphens (-); cannot start with http:// or https://; must be 2–256 characters long.
  7. Click OK.

What's next

View or apply for an endpoint

API reference

APIDescription
CreateAccountCreates a database account for a specified PolarDB cluster.
DescribeAccountsQueries the database accounts for a specified PolarDB cluster.
ModifyAccountDescriptionChanges the description of a database account for a specified PolarDB cluster.
ModifyAccountPasswordChanges the password of a database account for a specified PolarDB cluster.