--- title: "DB Connection の確認(VPC)" slug: "analytics-cloudsearch-postdbuploadcheckconnectionvpc" updated: 2026-09-17T09:57:29Z published: 2026-09-17T09:57:29Z canonical: "api.ncloud-docs.com/analytics-cloudsearch-postdbuploadcheckconnectionvpc" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # DB Connection の確認(VPC) ドメインに DB upload機能を実行する前に connectionを確認します。 ``` POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/db_upload/check_connection/vpc?region=KR ``` ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | region | Yes | string | リージョンコード | DBサーバがインストールされているリージョンコード | ### リクエストボディ | パラメータ名 | 必須有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | dbKind | Yes | String | mysql, mariadb | DBタイプ | | host | Yes | String | | DBの Instance ID | | port | Yes | Integer | | DBポート | | user | Yes | String | | ユーザー ID | | password | Yes | String | | パスワード | | db | Yes | String | | Database名 | | charset | Yes | String | | DBの character | | connectTimeout | Yes | Int | | connectionタイムアウト、単位は second | ## レスポンス ### レスポンス Status | HTTP Status | Desc | | --- | --- | | 200 | OK(照会完了) | | 400 | Bad Request | | 401 | Unauthorized | | 403 | Forbidden | | 404 | Not Found | | 500 | Internal Server Error | ## 例 ### リクエスト例 ``` 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, } ``` ### レスポンス例 ``` {"result":"ok"} ```