Skip to content

Commit

Permalink
Update faq/high-reliability-faq.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aolin <aolin.zhang@pingcap.com>
  • Loading branch information
TomShawn and Oreoxmt authored Nov 4, 2022
1 parent 1754afe commit 345f2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq/high-reliability-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ When the client connects to TiDB, the challenge-response authentication mode sta
## How to modify the user password and privilege?
To modify the user password in TiDB, it is recommended to use `ALTER USER` (for example, `ALTER USER 'test'@'localhost' IDENTIFIED BY 'mypass';`), not `update mysql.user` which might lead to the condition that the password in other nodes is not refreshed timely.
To modify the user password in TiDB, it is recommended to use `ALTER USER` (for example, `ALTER USER 'test'@'localhost' IDENTIFIED BY 'mypass';`), not `UPDATE mysql.user` which might lead to the condition that the password in other nodes is not refreshed timely.
It is recommended to use the official standard statements when modifying the user password and privilege. For details, see [TiDB user account management](/user-account-management.md).

0 comments on commit 345f2c9

Please sign in to comment.