PolarDB for Oracle supports two types of database accounts: privileged accounts and standard accounts. You manage these accounts in the PolarDB console. PolarDB does not provide a root account.
To create an account, see Create database accounts.
Prerequisites
Before you begin, make sure that you have opened the Accounts page:
Log in to the PolarDB console.
In the upper-left corner, select the region of the cluster.
Find the cluster and click the cluster ID.
In the left-side navigation pane, choose Settings and Management > Accounts.
Change the password of an account
On the Accounts page, find the target account and click Change Password in the Actions column.
Enter and confirm the new password, and then click OK.
Lock or unlock an account
Locking an account prevents it from logging in to the database.
On the Accounts page, find the target account and turn on or off the switch in the Lock Status column.
Delete an account
Deleting an account is irreversible. The account can no longer log in to the database client. Verify that no applications or users depend on the account before you proceed.
On the Accounts page, find the target account and click Delete in the Actions column.
In the confirmation message, click OK.
Related API operations
| Operation | Description |
|---|---|
| CreateAccount | Creates an account. |
| DescribeAccounts | Queries a list of accounts. |
| ModifyAccountDescription | Modifies the description of an account. |
| ModifyAccountPassword | Changes the password of an account. |
| DeleteAccount | Deletes an account. |