Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: TomShawn <[email protected]>
  • Loading branch information
dveeden and TomShawn committed Sep 29, 2021
1 parent 15cb467 commit 04b0043
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,18 @@ mysql> SELECT * FROM t1;

- Scope: GLOBAL
- Default value: `OFF`
- This controls if the `tidb-server` should resolve hostnames as part of the connection handshake.
- Enabling this option is useful as a performance optimization when DNS is unreliable.
- This variable controls whether the `tidb-server` instance resolves hostnames as a part of the connection handshake.
- When the DNS is unreliable, you can enable this option to improve network performance.

> **Note:**
>
> When `skip_name_resolve=ON`, users with a hostname in their identity will no longer be able to log in. i.e.
> When `skip_name_resolve=ON`, users with a hostname in their identity will no longer be able to log into the server. For example:
>
> ```sql
> CREATE USER 'appuser'@'apphost' IDENTIFIED BY 'app-password';
> ```
>
> In this example, it is recommended to replace _apphost_ with an IP address or wildcard (`%`).
> In this example, it is recommended to replace `apphost` with an IP address or the wildcard (`%`).
### socket
Expand Down

0 comments on commit 04b0043

Please sign in to comment.