addCloudMysqlUserList
    • PDF

    addCloudMysqlUserList

    • PDF

    Article summary

    Available in VPC

    Overview

    Add a DB user to a Cloud DB for MySQL instance.

    Request

    Request parameters

    Parameter nameRequiredTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained through the getRegionList action
    Default: Select the first Region of the getRegionList search results
    cloudMysqlInstanceNoYesString- Cloud DB for MySQL instance number
    cloudMysqlInstanceNo can be obtained through the getCloudMysqlInstanceList action
    cloudMysqlUserList.N.nameYesList<String>Only English letters, numbers, underscores (_), and hyphens (-) are allowed. It must start with an English letter
    Min: 4
    Max: 16
    - MySQL user ID
    cloudMysqlUserList.N.hostIpYesList<String>- MySQL user host
    Example)
    Allow access to all: %
    Allow access to specific IPs: 1.1.1.1
    Allow access to an IP range: 1.1.1.%
    cloudMysqlUserList.N.passwordYesList<String>It must have at least one English letter, one number, and a special character
    Certain special characters (` & + \ “ ' /) or spaces are not allowed
    If the Password Plugin is activated, the policy set by the plugin must also be satisfied
    Min: 8
    Max: 20
    - MySQL user password
    cloudMysqlUserList.N.authorityYesList<String>- MySQL user permission
    Options: READ | CRUD | DDL
    cloudMysqlUserList.N.isSystemTableAccessNoList<Boolean>- System table accessibility
    Options: true | false
    Default: true
    outputNoString- Format type of the response result
    Options: xml | json
    Default: json

    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>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.