为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:2.13
- 【问题描述】:tidb-lightning 导入时报错
为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
我现在指定的节点换了就没有报那个错了报的是
[“tidb lightning encountered error”] [error=“cannot fetch settings from TiDB, please manually fill in tidb.port
and tidb.pd-addr
: Get http://10.53.156.92:10080/settings: dial tcp 10.53.156.92:10080: connect: connection refused”] [errorVerbose="Get http://10.53.156.92:10080/settings: dial tcp 10.53.156.92:10080: connect: connection refused\
cannot fetch settings from TiDB, please manually fill in tidb.port
and tidb.pd-addr
92这台机器有10080服务,但没有搭建4000的tidb server服务,这个要怎么单独配置4000端口呢
你好,
现将 tidb-lightning 和 tidb 版本相对应。再重新执行看下。
https://pingcap.com/docs-cn/stable/download-ecosystem-tools/
tidb-lightning没有找到2.13版本
另外[“tidb lightning encountered error”] [error=“config file contained unknown configuration options: tidb.status-addr”]
我在[tidb]下配置的status-addr = “10.53.156.91” 报上面的错误
解决了,我现在不使用配置文件就可以导入了,谢谢。