Create an account
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-X console.
In the top navigation bar, select the region where the instance is deployed.
On the Instances page, click the PolarDB-X 2.0 tab.
Find the instance and click Instance ID to go to the instance details page.
-
In the navigation pane on the left, click .
-
Click Create Account. In the dialog box that appears, configure the following parameters.
Parameter
Description
Account Name
Enter the name of the account.
NoteThe 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.
-
Select one or more databases and click the
icon to move them from the Unauthorized Databases list on the left to the Authorized Databases list on the right. -
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.
NoteThe 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.
-
-
Click OK.