Updated on 2024-07-18 GMT+08:00

Creating a Database

Scenarios

After a DB instance is created, you can create databases on it.

Constraints

  • Databases cannot be created for DB instances that are in the process of being restored.

Creating a Database Through RDS

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, click the target DB instance.
  4. On the Databases page, click Create Database. In the displayed dialog box, enter a database name, select a character set, and authorize permissions for users. Then, click OK.

    • The database name can contain 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 to view more character sets.
    • Select unauthorized users and click to authorize permissions or select authorized users and click to revoke permissions.

      If there are no unauthorized users, you can create one by referring to Creating a Database Account.

  5. After the database is created, manage it on the Databases page.