changeCloudMysqlUserList
    • PDF

    changeCloudMysqlUserList

    • PDF

    Article Summary

    Available in VPC

    Overview

    Edit DB users in Cloud DB for MySQL instance.

    Requests

    Request parameters

    Parameter NameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Region code can be obtained through the getRegionList action
    Default: selects the first region of the getRegionList search results
    cloudMysqlInstanceNoYesString- Cloud DB for MySQL instance number
    Cloud MySQL instance No. 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
    Cannot change
    cloudMysqlUserList.N.hostIpYesList<String>- MySQL user Host
    Cannot change
    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.passwordNoList<String>It must have at least one English letter, one number, and one special character
    Certain special characters( ` & + " ' / space ) are not available to use
    It also needs to satisfy the policies set with the plugin when the Password Plugin is activated
    Min: 8
    Max: 20
    - MySQL user password
    Enter only when changing the password
    cloudMysqlUserList.N.authorityYesList<String>- MySQL user permission
    Options : READ
    outputNoString- Format type of the response result
    Options : xml | json
    Default : json

    Examples

    Request examples

    ncloud vmysql changeCloudMysqlUserList --regionCode KR --cloudMysqlInstanceNo ****890 --cloudMysqlUserList "name='testuser', hostIp='%', password='********', authority='CRUD'"
    

    Response examples

    <changeCloudMysqlUserListResponse>
        <requestId>08bc2188-6a20-4129-9176-f85be77073dc</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
    </changeCloudMysqlUserListResponse>
    

    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.