Manage database accounts
This topic describes how to change passwords, lock, unlock, and delete database accounts.
Background
PolarDB supports two types of database accounts: privileged accounts and standard accounts. You can manage all accounts in the PolarDB console.
Create a database account
For more information, see Create a database account.
Change password
-
Log on to the PolarDB console.
-
In the upper-left corner of the console, select the region of your cluster.
-
Find the target cluster and click the cluster ID.
-
In the navigation pane, choose .
-
Find the target account and click Change Password in the Change Password column.
-
In the dialog box that appears, enter the new password in the New Password field, re-enter it in the Confirm New Password field, and then click OK.
Lock account
You can lock an account to prevent it from logging in to the database.
-
Log on to the PolarDB console.
-
In the upper-left corner of the console, select the region of your cluster.
-
Find the target cluster and click the cluster ID.
-
In the navigation pane, choose .
-
Find the target account and click the slider in the Lock Status column.
Unlock account
-
Log on to the PolarDB console.
-
In the upper-left corner of the console, select the region of your cluster.
-
Find the target cluster and click the cluster ID.
-
In the navigation pane, choose .
-
Find the target account and click the slider in the Lock Status column.
Delete account
-
Log on to the PolarDB console.
-
In the upper-left corner of the console, select the region of your cluster.
-
Find the target cluster and click the cluster ID.
-
In the navigation pane, choose .
-
Find the target account and click Delete in the Delete column.
-
In the confirmation dialog box that appears, click OK.
API reference
|
API |
Description |
|
Creates a database account. |
|
|
Returns a list of all database accounts in a cluster. |
|
|
Modifies the description of a database account. |
|
|
Changes the password of a database account. |
|
|
Deletes a database account. |