diff --git a/system-variables.md b/system-variables.md index 1bb95aa4baabb..c916beda9759f 100644 --- a/system-variables.md +++ b/system-variables.md @@ -442,9 +442,10 @@ mysql> SELECT * FROM t1; - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Enumeration - Default value: `mysql_native_password` -- Possible values: `mysql_native_password`, `caching_sha2_password`, `tidb_sm3_password`, `tidb_auth_token`, `authentication_ldap_sasl`, and `authentication_ldap_simple`. -- This variable sets the authentication method that the server advertises when the server-client connection is being established. -- To authenticate using the `tidb_sm3_password` method, you can connect to TiDB using [TiDB-JDBC](https://github.com/pingcap/mysql-connector-j/tree/release/8.0-sm3). +- Possible values: `mysql_native_password`, `caching_sha2_password`, `tidb_sm3_password`, `authentication_ldap_sasl`, and `authentication_ldap_simple`. +- This variable sets the default authentication method and affects the following: + - When you create users with [`CREATE USER`](/sql-statements/sql-statement-create-user.md), if no authentication method is specified, the method defined by this variable is applied. + - This variable determines the authentication method advertised by the server when establishing a server-client connection.