--- title: "DB Connection 확인 (VPC)" slug: "analytics-cloudsearch-postdbuploadcheckconnectionvpc" tags: ["Cloud Search"] updated: 2026-10-22T10:46:51Z published: 2026-10-22T10:46:51Z canonical: "api-gov.ncloud-docs.com/analytics-cloudsearch-postdbuploadcheckconnectionvpc" --- > ## Documentation Index > Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # DB Connection 확인 (VPC) VPC 환경에서 이용 가능합니다. 도메인에 db upload 기능을 실행전 connection 을 확인합니다. ``` POST https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/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 | | 유저 아이디 | | 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 accept: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"} ```