Updated on 2023-12-13 GMT+08:00

Database Management

This section describes how to create or delete a database on the DAS console.

Creating a Database

  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, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. Click Create Database.

    Figure 1 Database list

  7. In the displayed dialog box, enter a database name, specify a character set, and click OK.

    Figure 2 Creating a database

  8. View the created database in the database list and manage the database.

Dropping a Database

If you do not need the database any longer, perform the following operations to delete it:

  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, and under Databases, click Data Admin Service.
  4. In the navigation pane on the left, choose Development Tool.

    You can also click Go to Development Tool on the overview page.

  5. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  6. In the database list, locate the database you want to drop and choose More > Drop in the Operation column.

    Figure 3 Database list

  7. In the displayed dialog box, click Yes.