---
title: "getCloudHadoopMysqlUserList"
slug: "cli-vhadoop-getcloudhadoopmysqluserlist"
updated: 2026-04-23T08:56:49Z
published: 2026-04-23T08:58:50Z
canonical: "cli.ncloud-docs.com/cli-vhadoop-getcloudhadoopmysqluserlist"
---

> ## 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.

# getCloudHadoopMysqlUserList

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

## 개요<a name="개요"></a>

Cloud Hadoop Hive 메타스토어와 연동할 Cloud DB for MySQL (VPC)의 유저 리스트를 조회합니다.

## 요청<a name="요청"></a>

### 요청 파라미터<a name="요청파라미터"></a>

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| ----- | ----- | ----- | ----- | ----- |
| regionCode | No | String | |- 리전 코드<br >- Hive 메타스토어를 연동 가능한 지 테스트할 리전(Region)을 결정 가능 <br >- regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능 <br >- Default: getRegionList 조회 결과의 첫 번째 리전 선택 |
| cloudMysqlInstanceNo | Yes | String | |- Hive 메타스토어를 연동할 Cloud DB for MySQL (VPC)의 인스턴스 번호<br >- 오직 DDL권한만 가진 Cloud DB for MySQL (VPC) 유저 정보만 조회 가능<br >- cloudMysqlInstanceNo는 [getCloudHadoopMysqlInstanceList](/docs/cli-vhadoop-getcloudhadoopmysqlinstancelist) 액션을 통해 획득 가능 |
| output | No | String | |- 응답 결과의 포맷 타입<br/>- Options: xml \| json<br >- Default: xml |

## 응답<a name="응답"></a>

### 응답 데이터 타입<a name="응답데이터타입"></a>

- CloudMysqlUserListForHiveMetaStore 타입

| CloudMysqlUserListForHiveMetaStore extends CommonResponse |
| ---------- |
|private Integer totalRows;|
|private List&lt;CloudMysqlUserForHiveMetaStore&gt; cloudMysqlUserListForHiveMetaStore = new ArrayList<>();|

| CloudMysqlUserForHiveMetaStore |
| ---------- |
|private String userName;|
|private String hostIp;|
|private String authority;|

## 예시<a name="예시"></a>

### 호출<a name="호출"></a>

```http
ncloud vhadoop getCloudHadoopMysqlUserList --regionCode KR --cloudMysqlInstanceNo 823***
```

### 응답<a name="응답"></a>

```xml
<CloudMysqlUserListForHiveMetaStoreResponse>
    <requestId>305113ee-d4b7-4709-805b-0a59aba07bc4</requestId>
    <returnCode>0</returnCode>
    <totalRows>1</totalRows>
    <cloudMysqlUserListForHiveMetaStore>
        <cloudMysqlUserForHiveMetaStore>
            <userName>****</userName>
            <hostIp>%</hostIp>
            <authority>DDL</authority>
        </cloudMysqlUserForHiveMetaStore>
    </cloudMysqlUserListForHiveMetaStore>
</CloudMysqlUserListForHiveMetaStoreResponse>
```
