Cloud DB for MySQL (VPC) overview

Prev Next

Available in VPC

Cloud DB for MySQL is a fully managed database service using MySQL, which is the most widely used relational database in the world. Cloud DB for MySQL provides APIs for database management features in RESTful form.

Common Cloud DB for MySQL settings

The following describes commonly used request and response formats in Cloud DB for MySQL APIs.

Request

The following describes the common request format.

API URL

The request API URL is as follows:

https://ncloud.apigw.ntruss.com/vmysql/v2

Request headers

The following describes the request headers.

Field Required Description
x-ncp-apigw-timestamp Required This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
  • x-ncp-iam-access-key Required Access key issued on NAVER Cloud Platform
  • Issue and check access key: See Create authentication key.
  • Issue and check access key for sub account: See Create sub account.
  • x-ncp-apigw-signature-v2 Required Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)
  • Issue and check secret key: See Create authentication key.
  • Create signature: See Create signature.
  • Response

    The following describes the common response format.

    Response status codes

    Cloud DB for MySQL APIs use NAVER Cloud Platform's common response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Cloud DB for MySQL API

    The following describes the APIs provided by the Cloud DB for MySQL API service.

    API Description
    addCloudMysqlDatabaseList Add a database to a Cloud DB for MySQL instance.
    addCloudMysqlUserList Add a DB user to a Cloud DB for MySQL instance.
    changeCloudMysqlServerSpec Change the DB server specifications for a Cloud DB for MySQL instance.
    changeCloudMysqlUserList Edit DB user information for a Cloud DB for MySQL instance.
    createCloudMysqlInstance Create a Cloud DB for MySQL instance.
    createCloudMysqlRecoveryInstance Create a recovery server instance in a Cloud DB for MySQL instance.
    createCloudMysqlSlaveInstance Create a slave server instance in a Cloud DB for MySQL instance.
    deleteCloudMysqlDatabaseList Delete a database of a Cloud DB for MySQL instance.
    deleteCloudMysqlInstance Delete a Cloud DB for MySQL instance.
    deleteCloudMysqlServerInstance Delete a Cloud DB for MySQL server instance.
    deleteCloudMysqlUserList Delete DB user information for a Cloud DB for MySQL instance.
    exportBackupToObjectStorage Send Cloud DB for MySQL instance backup files to Object Storage.
    exportDbServerLogToObjectStorage Send database server log files in a Cloud DB for MySQL instance to Object Storage.
    getCloudMysqlBackupDetailList Get Cloud DB for MySQL instance backup details list.
    getCloudMysqlBackupList Get Cloud DB for MySQL instance backup list.
    getCloudMysqlDatabaseList Get the database list of a Cloud DB for MySQL instance.
    getCloudMysqlEventHistoryList Get the event history list of a Cloud DB for MySQL instance.
    getCloudMysqlImageProductList Get Cloud DB for MySQL product code list.
    getCloudMysqlInstanceDetail Get Cloud DB for MySQL instance details.
    getCloudMysqlInstanceList Get Cloud DB for MySQL instance list.
    getCloudMysqlProductList Get the list of Cloud DB for MySQL server specification codes available for use.
    getCloudMysqlRecoveryTime Get time available for Cloud DB for MySQL instance recovery.
    getCloudMysqlTargetSubnetList Get the list of available subnets.
    getCloudMysqlTargetVpcList Get the list of available VPCs.
    getCloudMysqlUserList Get the DB user list for a Cloud DB for MySQL instance.
    getDbServerLogList Get the database server log list of a Cloud DB for MySQL instance.
    rebootCloudMysqlServerInstance Restart a Cloud DB for MySQL server instance.

    Cloud DB for MySQL related resources

    NAVER Cloud Platform provides a variety of related resources to help users better understand Cloud DB for MySQL APIs.