Updated on 2024-11-06 GMT+08:00

Deleting a Database

Scenarios

You can delete databases you have created.

Constraints

  • Deleted databases cannot be recovered. Exercise caution when deleting a database.
  • 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 project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name.
  5. In the navigation pane, choose Databases.
  6. On the displayed page, locate a database and click Delete in the Operation column.
  7. In the displayed dialog box, enter DELETE as prompted and click OK.

    Figure 1 Deleting a database

  8. 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.