Updated on 2024-05-21 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

This operation is not allowed when another operation is being performed on your DB instance.

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, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Databases. On the displayed page, locate the database that you want to delete and click Delete in the Operation column. In the displayed dialog box, click Yes.
  6. If you have enabled operation protection, click Start Verification in the displayed dialog box. On the displayed page, click Send Code, enter the obtained verification code, and click Verify to close the page.

    For details about how to enable operation protection, see Identity and Access Management User Guide.