You need to enable JavaScript to run this app.
RDS for MySQL

RDS for MySQL

Copy page
Download PDF
Managing databases
Deleteing a database
Copy page
Download PDF
Deleteing a database
This topic describes how to delete a database.​
Prerequisites​
Precautions​
  • After a database is deleted, its data will be lost. Proceed with caution.​
Procedure​
  1. Log on to the RDS for MySQL console.​
  1. In the upper-left corner of the top menu bar, select the project and region for the instance.​
tip​
If the project of the instance has not been set, the project should be selected as All resources.​
  1. Click on Instances in the left navigation bar.​
  1. On the Instances page, click on the target instance name.​
  1. At the top of the page, click Databases.​
  1. On the Databases tab, click Delete in the Actions column for the target database.​
  1. In the Deletion confirmation text box, enter the name of the database to be deleted, and then click OK.​
  1. In the displayed dialog box, complete the following settings, and then click OK.​
  • ​
    Configuration item​
    Description​
    Confirm to delete​
    In the Deletion confirmation text box, enter the name of the database to be deleted to confirm.​
    Retain account permissions​
    Select whether to retain the privileges of the associated account for a database with the same name when deleting the database.​
    tip​
    This option does not impact global privileges (*.*).​
    ​
FAQ​
How to view the deletion time of a database?​
  • For databases deleted via the database management page of the console, click Task Center on the left‑side navigation bar of the console, and you can view the deletion time on the Task Center page.​
  • For databases deleted via SQL commands, if you have enabled database auditing, click Database Workshop on the top menu bar, and you can view the deletion time in the Database Audit page.​
Related API​
​
API​
Description​
Call the DeleteDatabase API to delete a database.​
​
​
Last updated: 2026.08.21 16:00:28