This topic describes how to delete a database from an ApsaraDB RDS for MariaDB TX
instance. You can delete a database by using the ApsaraDB RDS console or an SQL statement.
Delete a database by using the ApsaraDB RDS console
- Log on to the ApsaraDB for RDS console.
- In the left-side navigation pane, click Instances. In the top navigation bar, select the region where your RDS instance resides.
- Find your RDS instance and click its ID.
- In the left-side navigation pane, click Databases.
- Find the database and in the Actions column click Delete.
- In the message that appears, click OK.
Delete a database by using an SQL statement
- Connect to your RDS instance by using a client. Note that you cannot connect to an
ApsaraDB RDS for MariaDB TX instance by using Data Management (DMS). For more information,
see Connect to an RDS for MariaDB instance.
- Execute the following statement to delete the database:
drop database <database name>;
Related operations
Operation |
Description |
DeleteDatabase |
Deletes a database from an ApsaraDB for RDS instance. |