--- title: "getCloudMysqlDatabaseList" slug: "cli-vmysql-getcloudmysqldatabaselist" tags: ["Cloud DB for MySQL", "VPC"] updated: 2026-09-17T09:16:03Z published: 2026-09-17T09:16:03Z canonical: "cli.ncloud-docs.com/cli-vmysql-getcloudmysqldatabaselist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getCloudMysqlDatabaseList VPC 환경에서 이용 가능합니다. Cloud DB for MySQL 인스턴스의 데이터베이스 목록을 조회합니다. ## 구문 `getCloudMysqlDatabaseList` 구문은 다음과 같습니다. ``` ./ncloud vmysql getCloudMysqlDatabaseList \ --cloudMysqlInstanceNo \ --pageNo \ --pageSize \ [--regionCode ] \ [--output ] ``` ## 옵션 `getCloudMysqlDatabaseList` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `getCloudMysqlDatabaseList`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--cloudMysqlInstanceNo` | String | Required | Cloud DB for MySQL 인스턴스 번호 - [getCloudMysqlInstanceList](/docs/cli-vmysql-getcloudmysqlinstancelist) 참조 | | `--pageNo` | Integer | Required | 페이지 번호 - `0`~N | | `--pageSize` | Integer | Required | 페이지당 항목 수 - `1`~N | ### 공통 옵션 `vmysql` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Cloud DB for MySQL (VPC) 옵션](/docs/cli-vmysql#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 Cloud DB for MySQL 데이터베이스 목록 조회 요청이 성공하면 각 데이터베이스의 이름이 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vmysql getCloudMysqlDatabaseList \ --cloudMysqlInstanceNo 12345678 \ --pageNo 0 \ --pageSize 10 \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "getCloudMysqlDatabaseListResponse": { "totalRows": 3, "cloudMysqlDatabaseList": [ { "databaseName": "mysql_test1" }, { "databaseName": "mysql_test2" }, { "databaseName": "testdb" } ], "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "returnCode": "0", "returnMessage": "success" } } ```