RDS for MySQL
Parameter | Type | Is it required? | Sample value | Description |
InstanceId | String | Yes | mysql-r3xq0zdl**** | Instance ID. |
DBName | String | Yes | testdb1 | Database name. Naming rules are as follows:
|
CharacterSetName | String | No | utf8 | Database character set. Supported character sets include: utf8, utf8mb4 (default), latin1, and ascii. |
DatabasePrivileges | No | [ { "AccountName": "user1", "Host":"%", "AccountPrivilege":"ReadWrite" } ] | Database authorization information. | |
DBDesc | String | No | This is a database description. | The description of the database cannot exceed 256 characters. This field is optional. If this field is not set, or if the description length is 0, the description is empty. |
Parameter | Type | Is it required? | Sample value | Description |
AccountName | String | Yes | testdb1 | The name of the account to be authorized first. |
Host | String | No | % | The Internet protocol address from which the specified database account can access the database. The default value is %.
|
AccountPrivilege | String | Yes | ReadWrite | Type of privilege granted to the account. Valid values:
tip Select only one privilege type. An error occurs if multiple privileges are passed. |
AccountPrivilegeDetail | String | No | SELECT,INSERT,UPDATE | Database privilege string. This parameter is required when AccountPrivilege is Custom. Valid values:
tip Multiple strings are separated by a comma (,). |