Skip to content

Commit

Permalink
cherry pick pingcap#3577 to release-4.0
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <[email protected]>
  • Loading branch information
tiancaiamao authored and ti-srebot committed Jul 3, 2020
1 parent b2f9e68 commit 2a1b2db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions faq/tidb-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ TiDB 目前还不支持触发器、存储过程、自定义函数、外键,除

详情参见[与 MySQL 兼容性对比](/mysql-compatibility.md)

使用 MySQL 8.0 客户端时,如果遇到无法登陆的问题,可以尝试指定 `default-auth``default-character-set` 参数:

{{< copyable "shell-regular" >}}

```shell
mysql -h 127.0.0.1 -u root -P 4000 --default-auth=mysql_native_password --default-character-set=utf8
```

无法登陆的原因是 MySQL 8.0 会更改了 MySQL 5.7 默认的[密码加密方式](/security-compatibility-with-mysql.md),所以需要添加以上参数指定使用旧的加密方式。

#### 1.1.7 TiDB 支持分布式事务吗?

支持。无论是一个地方的几个节点,还是[跨多个数据中心的多个节点](/multi-data-centers-in-one-city-deployment.md),TiDB 均支持 ACID 分布式事务。
Expand Down

0 comments on commit 2a1b2db

Please sign in to comment.