tidb-lightning 导入时报错

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

  • 【TiDB 版本】:2.13
  • 【问题描述】:tidb-lightning 导入时报错


这是报错的截图

  1. 麻烦使用 -V 参数查看 lightning 的版本
  2. 在tidb 命令行 执行 select tidb_version(); 反馈集群版本
  3. 请使用 pd-ctl 命令,查看 member 和 store 信息。 多谢。

https://pingcap.com/docs-cn/v3.0/pd-control/

0527.txt (7.4 KB)
这个是保存的文本

我现在指定的节点换了就没有报那个错了报的是 [“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

  1. 您换了 10.53.156.92:10080 吗? 请尝试在当前服务器,能否使用此配置登录命令行,多谢。
  2. 请查看是否配置了正确的密码,多谢。

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” 报上面的错误

解决了,我现在不使用配置文件就可以导入了,谢谢。

:call_me_hand: