The feature is available only in a MySQL tenant. In an Oracle tenant, schemas are directly bound to users. Therefore, you only need to create an account in an Oracle tenant.
Prerequisites
Before you create a database in a MySQL tenant, make sure that the following conditions are met:
The current tenant is not in the Creating state.
The current tenant is not in the Deleting state.
The current tenant is not in the Deleted state.
Procedure
Log on to the ApsaraDB for OceanBase console.
In the left-side navigation pane, click Instances.
In the instance list, click the name of the target cluster instance to go to the Cluster Instance Workspace page.
On the Cluster Instance Workspace page, click the name of the target tenant.
On the Tenant Workspace page, click Create Database in the upper-right corner and then configure the parameters.
Parameter
Description
Database Name
The name of the database to be created. The database name must start with a lowercase letter and contain at least two characters in length. It cannot contain reserved keywords such as SYS.
Character Set
The character set for the database. Valid values: UTF8MB4, UTF16, and GBK.