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. |
x-ncp-iam-access-key |
Required | Access key issued on NAVER Cloud Platform |
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) |
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.
- Cloud DB for MySQL API guides
- Create signature: how to create a signature to add to the request header
- API Gateway User Guide: how to issue the API key to be added to the request header
- Sub Account User Guides: how to issue the access key to be added to the request header
- Common Ncloud response status codes: information on common response status codes of NAVER Cloud Platform used by Cloud DB for MySQL
- How to use the Cloud DB for MySQL service
- Cloud DB for MySQL User Guide: how to use Cloud DB for MySQL in the NAVER Cloud Platform console
- Introduction to pricing, characteristics, and detailed features: the summary of pricing system, characteristics, and detailed features of Cloud DB for MySQL
- Latest service news: the latest news on Cloud DB for MySQL
- FAQ: frequently asked questions from Cloud DB for MySQL users
- Contact us: Send direct inquiries for unresolved questions that aren't answered by the API guide.