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.
- In the upper-left corner of the console, select the region where the cluster that you want to manage is deployed.
- Find the cluster you want to manage and click the cluster ID.
- 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 operations
API | Description |
---|---|
CreateAccount | Creates an account. |
DescribeAccounts | Queries the accounts of a specified cluster. |
ModifyAccountDescription | Modifies the description of a database account for a PolarDB cluster. |
ModifyAccountPassword | Changes the password of a database account. |
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. |