DB Connection check (VPC)
    • PDF

    DB Connection check (VPC)

    • PDF

    Article Summary

    Check the connection before executing the DB upload function in the domain.

    POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/db_upload/check_connection/vpc?region=KR
    

    Requests

    Request parameters

    Parameter nameRequiredTypeService limitsDescription
    regionYesstringRegion codeDB server installed Region code

    Request bodies

    Parameter nameRequiredTypeService limitsDescription
    dbKindYesStringmysql, mariadbDB type
    hostYesStringDB Instance ID
    portYesIntegerDB port
    userYesStringUser ID
    passwordYesStringPassword
    dbYesStringDatabase name
    charsetYesStringDB character
    connectTimeoutYesIntconnection timeout, unit second

    Responses

    Response Status

    HTTP StatusDesc
    200OK (View complete)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    Examples

    Request examples

    POST /CloudSearch/real/v1/db_upload/check_connection/vpc
    Host: cloudsearch.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: cDwtHuQeGmwWyNmwlN6XIGA66zge4iMXvfoDQNna05g=
    x-ncp-apigw-timestamp: 1545817618751
    x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
    {
        "dbKind": "mysql",
        "host": "1122244",
        "port": 3306,
        "user": "root",
        "password": "alskdj",
        "db": "cloud_search",
        "charset": "utf8",
        "connectTimeout": 4,
    }
    

    Response examples

    {"result":"ok"}
    

    Was this article helpful?

    What's Next
    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.