【 TiDB 使用环境`】测试环境
【 TiDB 版本】4.0.11
【遇到的问题】创建数据源的时候报错
【问题现象及影响】
tiup is checking updates for component dmctl …timeout!
Starting component dmctl
: /root/.tiup/components/dmctl/v6.1.0/dmctl/dmctl /root/.tiup/components/dmctl/v6.1.0/dmctl/dmctl --master-addr 192.168.1.86:8261 operate-source create source-mysql-01.yaml
{
“result”: false,
“msg”: “[code=10001:class=database:scope=not-set:level=high], Message: database driver error, RawCause: Error 1184: Aborted connection 30337012 to db: ‘unconnected’ user: ‘tidb_dm’ host: ‘192.168.1.86’ (init_connect command failed), Workaround: Please check the database connection and the database config in configuration file.”,
“sources”: [
]
}
问题描述:
数据源的账号密码是可以用的 手动测试连接成功,这里我用的一个DM-master 一个DM-worker
数据源配置: