Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions connectors-and-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ TiDB is compatible with all Connectors and APIs of MySQL (5.6, 5.7), including:

Oracle develops the following APIs and TiDB is compatible with all of them:

> **Note:**
>
> + To connect to TiDB using a MySQL Connector from MySQL 8.0, you must explicitly specify `default-auth=mysql_native_password`, because `mysql_native_password` is [no longer the default plugin](https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password).

- [MySQL Connector/C++](https://dev.mysql.com/doc/refman/5.7/en/connector-cpp-info.html):to enable C++ applications to connect to MySQL
- [MySQL Connector/J](https://dev.mysql.com/doc/refman/5.7/en/connector-j-info.html):to enable Java applications to connect to MySQL using the standard JDBC API
- [MySQL Connector/Net](https://dev.mysql.com/doc/refman/5.7/en/connector-net-info.html):to enable .Net applications to connect to MySQL; [MySQL for Visual Studio](https://dev.mysql.com/doc/visual-studio/en/) uses this; support Microsoft Visual Studio 2012, 2013, 2015 and 2017 versions
Expand Down
1 change: 1 addition & 0 deletions security-compatibility-with-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ aliases: ['/docs/stable/reference/security/compatibility/']
TiDB supports similar security functionality to MySQL 5.7, with the following exceptions:

- Only the `mysql_native_password` authentication scheme is supported
- In MySQL 8.0, `mysql_native_password` is [no longer the default/preferred plugin](https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password). To connect to TiDB using a MySQL client from MySQL 8.0, you must explicitly specify `default-auth=mysql_native_password`.
- External authentication (such as with LDAP) is not currently supported
- Column level permissions are not supported
- Password expiry, as well as password last-changed tracking and password lifetime are not supported [#9709](https://github.com/pingcap/tidb/issues/9709)
Expand Down
2 changes: 1 addition & 1 deletion tidb-specific-system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ mysql> desc select count(distinct a) from test.t;
- Default value: 2
- This variable is used to increase the weight of the maximum time of TiDB `backoff`, that is, the maximum retry time for sending a retry request when an internal network or other component (TiKV, PD) failure is encountered. This variable can be used to adjust the maximum retry time and the minimum value is 1.

For example, the base timeout for TiDB to take TSO from PD is 15 seconds. When `tidb_backoff_weight = 2`, the maximum timeout for taking TSO is: *base time * 2 = 30 seconds*.
For example, the base timeout for TiDB to take TSO from PD is 15 seconds. When `tidb_backoff_weight = 2`, the maximum timeout for taking TSO is: *base time \* 2 = 30 seconds*.

In the case of a poor network environment, appropriately increasing the value of this variable can effectively alleviate error reporting to the application end caused by timeout. If the application end wants to receive the error information more quickly, minimize the value of this variable.

Expand Down
4 changes: 4 additions & 0 deletions user-account-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Or use the abbreviation of command line parameters:
shell> mysql -P 4000 -u xxx -p
```

> **Note:**
>
> + To connect to TiDB using a MySQL client from MySQL 8.0, you must explicitly specify `--default-auth=mysql_native_password`, because `mysql_native_password` is [no longer the default plugin](https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password).

## Add user accounts

You can create TiDB accounts in two ways:
Expand Down