You can create privileged accounts and standard accounts for PolarDB-X instances. This topic describes how to create an account.
Create an account
Log on to the PolarDB for Xscale console.
In the top navigation bar, select the region where the target instance is located.
On the Instances page, click the PolarDB-X 2.0 tab.
Find the target instance and click its ID.
In the left-side navigation pane, choose .
Click Create an account. In the panel that appears, configure the parameters.
Parameter
Description
Account name
The username of the account.
NoteThe 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.
Select one or more databases and click the icon to move the selected databases from the Unauthorized database section on the left side to the Authorized database section on the right side.
In the Authorized database section, select the database permissions that you want to grant to the account.
NoteThis 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.
NoteThe 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.
Click OK.