【 TiDB 使用环境`】 测试环境
【 TiDB 版本】v5.4.1
【遇到的问题】
【问题现象及影响】mysql增量同步到tidb, 添加同步任务的时候报错, 目标端的账号密码确认过没有问题 配置如下, 帮忙看下配置哪里不对,还是说源库mysql 必须要开启gtid?
[tidb@db-tidb-0001 ~/tidb-community-toolkit-v5.4.1-linux-amd64/bin]$ tiup dmctl --master-addr 10.36.xxx:8261 check-task ./task.yaml
tiup is checking updates for component dmctl …
Starting component dmctl
: /home/tidb/.tiup/components/dmctl/v6.0.0/dmctl/dmctl /home/tidb/.tiup/components/dmctl/v6.0.0/dmctl/dmctl --master-addr 10.36.xx.xxx:8261 check-task ./task.yaml
{
“result”: false,
“msg”: “[code=20003:class=dm-master:scope=internal:level=medium], Message: decode task config failed, RawCause: yaml: line 2: did not find expected key, Workaround: Please check the configuration file has correct YAML format.”
}
【附件】