Creates a new database in an instance. The interface must meet the following conditions, or the call will fail:
- The instance status is Running
- The instance is not locked
- The maximum number of databases in the instance is not exceeded
- The instance type is primary instance
NOTE: Users of PostgreSQL and PPAS instances are permitted to perform the CREATE DATABASE operation through SQL. Therefore, this interface does not support PostgreSQL and PPAS.
|Action||String||Yes||Required parameter. Value: CreateDatabase|
|DBName||String||Yes||Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers and underlines, and must start with a letter
and have no more than 64 characters. For other illegal characters, refer to the Appendix
|CharacterSetName||String||Yes||Character set. The value range is limited to the following:
utf8mb4 (included in versions 5.5 and 5.6).
|DBDescription||String||No||Database description, which cannot exceed 256 characters. NOTE: It cannot begin with https://. It must start with a Chinese character or English letter.
It can include Chinese and English characters/letters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters
|<Public Return Parameters>||-||For details, refer to the Appendix|
- Request example
&<[Public Request Parameters]>
- Return example