--- title: "getCloudMysqlDatabaseList" slug: "cli-vmysql-getcloudmysqldatabaselist" updated: 2026-09-17T10:08:39Z published: 2026-09-17T10:08:39Z 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 Available in VPC Get the list of Cloud DB for MySQL instance databases. ## Syntax The `getCloudMysqlDatabaseList` syntax is as follows: ``` ./ncloud vmysql getCloudMysqlDatabaseList \ --cloudMysqlInstanceNo \ --pageNo \ --pageSize \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getCloudMysqlDatabaseList`. ### Required options The following options are required for `getCloudMysqlDatabaseList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudMysqlInstanceNo` | String | Required | Cloud DB for MySQL instance number - See [getCloudMysqlInstanceList](/docs/en/cli-vmysql-getcloudmysqlinstancelist). | | `--pageNo` | Integer | Required | Page number - `0`-N | | `--pageSize` | Integer | Required | Number of items per page - `1`-N | ### Common options For information about the options common to all `vmysql` subcommands, see [Cloud DB for MySQL (VPC) options](/docs/en/cli-vmysql#%EC%98%B5%EC%85%98). ## Examples If the request to list Cloud DB for MySQL databases is successful, the names of each database are returned. ### Command The command example is as follows: ``` ./ncloud vmysql getCloudMysqlDatabaseList \ --cloudMysqlInstanceNo 12345678 \ --pageNo 0 \ --pageSize 10 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getCloudMysqlDatabaseListResponse": { "totalRows": 3, "cloudMysqlDatabaseList": [ { "databaseName": "mysql_test1" }, { "databaseName": "mysql_test2" }, { "databaseName": "testdb" } ], "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012", "returnCode": "0", "returnMessage": "success" } } ```