This topic explains how to create a database account and the differences between a privileged account and a standard account.
Background information
PolarDB supports two types of database accounts: privileged accounts and standard accounts. You can manage all accounts in the console.
Account types
Type | Description |
Privileged Account |
|
Standard Account |
|
Create an account
Log on to the PolarDB console.
In the upper-left corner of the page, select a region.
Click the target cluster's ID.
In the left-side navigation pane, click .
Click Create Account.
Configure the following parameters:
Parameter
Description
Account Name
The name must meet the following requirements:
Start with a lowercase letter and end with a letter or a digit.
Contain only lowercase letters, digits, and underscores (_).
Be 2 to 16 characters in length.
Cannot be a reserved username, such as
rootoradmin.
Account Type
Select Privileged Account to create a privileged account.
Select Standard Account to create a standard account.
Password
The password must meet the following requirements:
Contain characters from at least three of the following categories: uppercase letters, lowercase letters, digits, and special characters.
Be 8 to 32 characters in length.
The supported special characters are:
!
@
#
$
%
^
&
*
(
)
_
+
-
=
Confirm Password
Enter the password again.
Description
Enter a description to simplify future account management. The description must meet the following requirements:
Cannot start with
http://orhttps://.Be 2 to 256 characters in length.
Click OK.
Next steps
Related APIs
API | Description |
Creates an account. | |
Queries a list of accounts. | |
Modifies the description of an account. | |
Modifies the password of an account. | |
Deletes an account. |