Updated on 2026-04-24 GMT+08:00

Creating a Database

Scenarios

After an RDS instance is created, you can create databases on it.

Constraints

  • This operation is not allowed for instances that are being restored.
  • AUTO_PK_ROW_ID is a reserved column name for RDS for MySQL instances. You cannot create it.
  • You can only manage databases in the primary instance, for example, creating or authorizing users for databases.

Creating a Database Through RDS

  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 Database > Relational Database Service.
  4. On the Instances page, click the target DB instance to go to the Basic Information page.
  5. In the navigation pane on the left, choose Databases and Accounts and click the Databases tab.
  6. Click Create Database. In the displayed dialog box, enter a database name and remarks, select a character set, and authorize permissions for users. Then, click OK.

    • The database name consists of 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. The total number of hyphens (-) cannot exceed 10.
    • The default character set is utf8. You can click More and select another one.
    • Select unauthorized users and click to authorize permissions or select authorized users and click to revoke permissions.

  7. After the database is created, manage it on the Databases page of the selected DB instance.