This topic describes how to use the RDS console or run an SQL statement to delete a database for an RDS MariaDB instance. Each method applies to different types of instances. You can choose a suitable method based on the RDS instance whose database you want to delete.

Use the RDS console to delete a database

  1. Log on to the RDS console.
  2. In the upper-left corner, select the region where the target RDS instance is located.选择地域
  3. Find the target RDS instance and click the instance ID.
  4. In the left-side navigation pane, click Databases.
  5. Find the database you want to delete, and in the Actions column click Delete.
  6. In the displayed dialog box, click Confirm.

Run an SQL statement to delete a database

  1. Use a database client to connect to your RDS instance. For more information, see Connect to an RDS MariaDB instance.
  2. Run the following command to delete a database:
    drop database <database name>;


API Description
DeleteDatabase Used to delete a database for an RDS instance.