This topic describes how to create PolarDB for MySQL accounts and explains the differences between privileged accounts and standard accounts.
Background information
You can create and manage privileged accounts and standard accounts in the PolarDB console.
Note To avoid security risks, PolarDB does not provide root accounts.
Account type | Description |
---|---|
Privileged Account |
|
Standard Account |
|
Create a privileged account
Create a standard account
Reset the permissions of a privileged account
If the permissions of a privileged account are accidentally revoked or encounter other exceptions, you can reset the permissions to restore the privileged account to the initial state. To reset the permissions of the account, perform the following steps:
- Log on to the PolarDB console.
- On the top of the page, select the region where the target cluster is located.
- Find the target cluster and click the cluster ID to go to the Overview page.
- In the left-side navigation pane, choose .
- On the page that appears, find the privileged account that you want to manage. In the Actions column for the privileged account, click Reset Permissions
- In the dialog box that appears, enter the password of the privileged account. Then, click OK to reset the permissions of the account.
What to do next
Related API operations
API | Description |
---|---|
CreateAccount | Creates a database account for a specified PolarDB cluster. |
DescribeAccounts | Queries the database accounts for a specified PolarDB cluster. |
ModifyAccountDescription | Changes the description of a database account for a specified PolarDB cluster. |
ModifyAccountPassword | Changes the password of a database account for a specified PolarDB cluster. |
GrantAccountPrivilege | Grants a specified standard account the permissions on one or more databases of a specified PolarDB cluster. |
RevokeAccountPrivilege | Revokes the permissions on one or more databases from a specified PolarDB standard account. |
ResetAccount | Resets the permissions of a privileged account for a specified PolarDB cluster. |