You can delete accounts, including privileged accounts and standard accounts, of an ApsaraDB RDS for MariaDB instance that you no longer use in the ApsaraDB RDS console or by calling API operations. You can also delete a standard account by using SQL statements.
Delete a privileged or standard account in the ApsaraDB RDS console
- Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Accounts.
Find the account that you want to delete, and click Delete in the Actions column.
In the dialog box that appears, click OK.
Delete a standard account by using SQL statements
You can delete only standard accounts by using SQL statements.
Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the upper-right corner of the page, click Log On to Database to go to the RDS Database Logon page of the Data Management (DMS) console.
In the top navigation bar, choose
.Execute the following statement:
DROP USER 'username';
Click Execute.
Related operations
Operation | Description |
Deletes accounts including privileged accounts and standard accounts. |