Skip to content

Commit

Permalink
collation: remove a redundant sentence (#11131)
Browse files Browse the repository at this point in the history
* collation: remove a redundant sentence

* address #6539

* Update faq/high-reliability-faq.md

Co-authored-by: Aolin <aolin.zhang@pingcap.com>

Co-authored-by: Aolin <aolin.zhang@pingcap.com>
  • Loading branch information
TomShawn and Oreoxmt authored Nov 4, 2022
1 parent 0adb6a7 commit d52a74d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 `set password for 'root'@'%' = '0101001';` or `alter`, 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).
2 changes: 1 addition & 1 deletion tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ The TiDB configuration file supports more options than command-line parameters.

- Enables or disables the new collation support.
- Default value: `true`
- Note: This configuration takes effect only for the TiDB cluster that is first initialized. After the initialization, you cannot use this configuration item to enable or disable the new collation support. When a TiDB cluster is upgraded to v4.0 or later, because the cluster has been initialized before, both `true` and `false` values of this configuration item are taken as `false`.
- Note: This configuration takes effect only for the TiDB cluster that is first initialized. After the initialization, you cannot use this configuration item to enable or disable the new collation support.

### `max-server-connections`

Expand Down

0 comments on commit d52a74d

Please sign in to comment.