The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in VPC
Overview
Add a DB user to a Cloud DB for MySQL instance.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | Region code
|
|
| cloudMysqlInstanceNo | Yes | String | Cloud DB for MySQL instance number
|
|
| cloudMysqlUserList.N.name | Yes | List<String> | Only English letters, numbers, underscores (_), and hyphens (-) are allowed. It must start with an English letter.
|
MySQL user ID |
| cloudMysqlUserList.N.hostIp | Yes | List<String> | MySQL user host
|
|
| cloudMysqlUserList.N.password | Yes | List<String> | It must have at least one English letter, one number, and a special character.
|
MySQL user password |
| cloudMysqlUserList.N.authority | Yes | List<String> | MySQL user permissions
|
|
| cloudMysqlUserList.N.isSystemTableAccess | No | List<Boolean> | System table accessibility
|
|
| output | No | String | Response result's format type
|
Examples
Request example
ncloud vmysql addCloudMysqlUserList --regionCode KR --cloudMysqlInstanceNo ****890 --cloudMysqlUserList "name='testuser', hostIp='%', password='********', authority='DDL'"
Response example
<addCloudMysqlUserListResponse>
<requestId>d35c01cf-e77a-44a9-a2b9-1fd1f9572750</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</addCloudMysqlUserListResponse>