--- title: "getCloudHadoopMysqlInstanceList" slug: "cli-vhadoop-getcloudhadoopmysqlinstancelist" updated: 2026-10-08T10:00:51Z published: 2026-10-08T10:00:51Z canonical: "cli.ncloud-docs.com/cli-vhadoop-getcloudhadoopmysqlinstancelist" --- > ## 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. # getCloudHadoopMysqlInstanceList VPC環境で利用できます。 Hiveメタストアと連携可能な Cloud DB for MySQLを照会します。 ## 構文 `getCloudHadoopMysqlInstanceList`構文は次の通りです。 ``` ./ncloud vhadoop getCloudHadoopMysqlInstanceList \ --cloudHadoopInstanceNo \ [--regionCode ] \ [--output ] ``` ## オプション `getCloudHadoopMysqlInstanceList`の実行時に指定できるオプションについて説明します。 ### 必須オプション `getCloudHadoopMysqlInstanceList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--cloudHadoopInstanceNo` | String | Required | クラスタインスタンス番号 - クラスタと同じ VPCにインストールされてい るMySQLのみ照会可能 - [getCloudHadoopInstanceList](/docs/ja/cli-vhadoop-getcloudhadoopinstancelist)を参照 | ### 共通オプション `vhadoop`コマンドで共通して使用されるオプションの詳細は、[Cloud Hadoop (VPC)のオプション](/docs/ja/cli-vhadoop#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 Hiveメタストアと連携可能な Cloud DB for MySQLリストの照会リクエストが成功すると、各インスタンスの識別情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vhadoop getCloudHadoopMysqlInstanceList \ --cloudHadoopInstanceNo 34567890 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "CloudMysqlInstanceListForHiveMetaStoreResponse": { "totalRows": 1, "cloudMysqlInstanceListForHiveMetaStore": [ { "cloudMysqlInstanceNo": "56789012", "cloudMysqlInstanceName": "hive-metastore", "vpcName": "vpc-01" } ], "requestId": "0718293a-ebfc-d456-0123-789abcd45678", "returnCode": "0", "returnMessage": "success" } } ```