Does changing the root password of a host node in a TiDB cluster affect the TiDB cluster?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 修改tidb集群某节点主机的root密码,对tidb集群有影响吗?

| username: Hacker_cBh8J2wj

Does changing the root password of a host in a TiDB cluster affect the TiDB cluster? Do I need to modify any configurations accordingly?

| username: ShawnYan | Original post link

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.

| username: GreenGuan | Original post link

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.

| username: xingzhenxiang | Original post link

It should not be affected without redeployment. The existing program is managed using the TiDB user key method.

| username: tidb狂热爱好者 | Original post link

It doesn’t affect, TiDB uses keys.

| username: ablewang_xiaobo | Original post link

If the TiDB cluster was not deployed using the root account, it will not be affected.

| username: 啦啦啦啦啦 | Original post link

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:

| username: HACK | Original post link

No impact.

| username: maokl | Original post link

If the installation user is not root, it will not have any impact.

| username: cs58_dba | Original post link

There should be no impact after trying. Mutual trust has already been established using the public key and private key.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.