All Products
Document Center

ApsaraDB RDS:Delete an account

Last Updated:Sep 11, 2023

This topic describes how to delete a standard account from an ApsaraDB RDS for MySQL instance by using the ApsaraDB RDS console or an SQL statement.

Delete an account in the ApsaraDB RDS console

  1. 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.
  2. In the left-side navigation pane, click Accounts.

  3. Find the account that you want to delete, and click Delete in the Actions column.

  4. In the message that appears, click OK.

Delete a standard account by using SQL statements

This function is supported only for specific RDS instance configurations.

  1. Use DMS to log on to an RDS instance. For more information, see Use DMS to log on to an RDS instance.

  2. In the top navigation bar, choose SQL Operations > SQL Window.

  3. Execute the following statement:

    DROP USER 'username';
  4. Click Execute.

Related operations




Delete an account