Updated on 2024-04-03 GMT+08:00

Deleting a Database

Scenarios

You can delete databases that you have created.

Deleted databases cannot be recovered. Exercise caution when performing this operation.

Constraints

Databases cannot be deleted from DB instances that are being restored.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the instance name.
  5. On the Databases page, locate the target database and choose More > Delete in the Operation column. In the displayed dialog box, click OK.
  6. If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account. For details about how to enable operation protection, see the Identity and Access Management User Guide.