az mysql flexible-server gtid
管理服务器上的 GTID。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az mysql flexible-server gtid reset |
重置服务器上的 GTID。 |
Core | GA |
az mysql flexible-server gtid reset
重置服务器上的 GTID。
az mysql flexible-server gtid reset --gtid-set
--resource-group
--server-name
[--no-wait]
[--yes]
示例
在服务器“testsvr”上重置 GTID“3E11FA47-71CA-11E1-9E33-C80AA9429562:23”。
az mysql flexible-server gtid reset -g testgroup -s testsvr --gtid-set 3E11FA47-71CA-11E1-9E33-C80AA9429562:23
必需参数
GTID 集是一个集,由一个或多个单一 GTID 或 GTID 范围组成。 GTID 表示为一对坐标,用冒号字符(:)分隔),如下所示:source_id:transaction_id。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
服务器的名称。 名称只能包含小写字母、数字和连字符 (-)。 最少 3 个字符,最多 63 个字符。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
不要提示确认。
| 属性 | 值 |
|---|---|
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |