Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 可以通过pd地址获取 tidb、tikv 地址吗?或者通过 tidb 地址获取 pd、tikv地址
Is it possible to obtain TiDB and TiKV addresses through the PD address? Or obtain PD and TiKV addresses through the TiDB address?
information_schema.cluster_info
Okay, thank you very much. So, we need to connect to the TiDB client first in order to obtain a series of hosts.
pd-ctl store
to get TiKV/TiFlash information
curl http://{TiDBIP}:10080/info/all
to get all TiDB
tiup cluster display
to get the entire cluster
Thank you for the explanation!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.