--- title: "getCloudMysqlEventHistoryList" slug: "cli-vmysql-getcloudmysqleventhistorylist" updated: 2026-09-17T10:08:39Z published: 2026-09-17T10:08:39Z canonical: "cli.ncloud-docs.com/cli-vmysql-getcloudmysqleventhistorylist" --- > ## 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. # getCloudMysqlEventHistoryList Available in VPC Get the event history list for a Cloud DB for MySQL instance. ## Syntax The `getCloudMysqlEventHistoryList` syntax is as follows: ``` ./ncloud vmysql getCloudMysqlEventHistoryList \ --cloudMysqlServerName \ --startDate \ --endDate \ [--pageNo ] \ [--pageSize ] \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getCloudMysqlEventHistoryList`. ### Required options The following options are required for `getCloudMysqlEventHistoryList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudMysqlServerName` | String | Required | Cloud DB for MySQL server name - See [getCloudMysqlInstanceList](/docs/en/cli-vmysql-getcloudmysqlinstancelist). | | `--startDate` | String | Required | Query start date and time - `yyyy-MM-dd HH:mm:ss` format | | `--endDate` | String | Required | Query end date and time - `yyyy-MM-dd HH:mm:ss` format | | `--pageSize` | Integer | Conditional | Number of items per page - `1`-N - Required when entering `pageNo`. | ### Optional options These are the optional options for `getCloudMysqlEventHistoryList`. Options that are not specified will use their default values. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--pageNo` | Integer | Optional | Page number - `0`-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 retrieve the list of event history records in Cloud DB for MySQL is successful, the occurrence time, type, and content of each event are returned. ### Command The command example is as follows: ``` ./ncloud vmysql getCloudMysqlEventHistoryList \ --cloudMysqlServerName testmysql-001-97mj \ --startDate "2026-06-04 00:00:00" \ --endDate "2026-06-04 23:59:59" \ --pageNo 0 \ --pageSize 10 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getCloudMysqlEventHistoryListResponse": { "totalRows": 1, "cloudMysqlEventHistoryList": [ { "cloudMysqlInstanceNo": "12345678", "cloudMysqlServerInstanceNo": "34567890", "cloudMysqlServerName": "testmysql-001-97mj", "eventTime": "2026-06-04 17:12:31", "eventType": "DB Server", "eventName": "DB", "eventContent": "MasterDB Install Completed", "clientIp": "10.0.0.1" } ], "requestId": "d0e1f2a3-b4c5-6789-defa-012345678901", "returnCode": "0", "returnMessage": "success" } } ```