Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 修改tidb集群某节点主机的root密码,对tidb集群有影响吗?
Does changing the root password of a host in a TiDB cluster affect the TiDB cluster? Do I need to modify any configurations accordingly?
The root password of the host? It doesn’t matter, as long as it doesn’t affect mutual trust, it won’t have any impact.
If you use tiup for management, it uses ansible at the underlying level, and ansible uses the SSH mutual trust mechanism. Therefore, if you haven’t regenerated the key, changing the password will have no effect.
It should not be affected without redeployment. The existing program is managed using the TiDB user key method.
It doesn’t affect, TiDB uses keys.
If the TiDB cluster was not deployed using the root account, it will not be affected.
Using the root account for deployment does not have any impact, changing the password does not alter the key. Additionally, after deploying the cluster, it has nothing to do with the root password; subsequent SSH and cluster management are all done through the tidb user. Refer to the following link:
If the installation user is not root, it will not have any impact.
There should be no impact after trying. Mutual trust has already been established using the public key and private key.
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.