faq: update mysql8 client fail to connect tidb#3577
Merged
Conversation
5 tasks
Contributor
Author
Contributor
|
Please fix CI. |
TomShawn
reviewed
Jun 10, 2020
TomShawn
reviewed
Jun 10, 2020
| mysql -h 127.0.0.1 -u root -P 4000 --default-auth=mysql_native_password --default-character-set=utf8 | ||
| ``` | ||
|
|
||
| 原因是字符集支持以及[密码验证方式的兼容性](/security-compatibility-with-mysql.md)。 |
Contributor
Author
There was a problem hiding this comment.
就兼容性问题呀
我们兼容的是 mysql7 的行为
mysql8 把默认的密码加密方式改掉了,所以要加参数指定使用旧的加密方式
Contributor
There was a problem hiding this comment.
这句话没说清楚,改成无法登陆的原因是 MySQL 8.0 会更改默认的密码加密方式,所以需要添加以上参数指定使用旧的加密方式?
Contributor
Author
There was a problem hiding this comment.
无法登陆的原因是因为我们对字符集的支持以及我们在密码验证方式上的兼容性
没有兼容 mysql8 的默认行为
所以需要添加以上参数指定使用旧的加密方式
Contributor
There was a problem hiding this comment.
无法登陆的原因是 TiDB 对字符集的支持和密码校验方式上不兼容 MySQL 的默认行为,所以需要添加以上参数指定使用旧的加密方式。 这样呢?可以把解释加进文档里
TomShawn
reviewed
Jun 10, 2020
TomShawn
reviewed
Jun 10, 2020
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Contributor
Author
Contributor
|
LGTM |
Contributor
|
@tennix,Thanks for your review. |
Contributor
|
/merge |
Contributor
|
/run-all-tests |
ti-srebot
pushed a commit
to ti-srebot/docs-cn
that referenced
this pull request
Jul 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
5 tasks
Contributor
|
cherry pick to release-3.0 in PR #3871 |
ti-srebot
pushed a commit
to ti-srebot/docs-cn
that referenced
this pull request
Jul 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
5 tasks
Contributor
|
cherry pick to release-3.1 in PR #3872 |
ti-srebot
pushed a commit
to ti-srebot/docs-cn
that referenced
this pull request
Jul 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
5 tasks
Contributor
|
cherry pick to release-4.0 in PR #3873 |
TomShawn
pushed a commit
that referenced
this pull request
Jul 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
TomShawn
added a commit
that referenced
this pull request
Jul 3, 2020
ti-srebot
added a commit
that referenced
this pull request
Jul 3, 2020
This was referenced Jul 10, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
pingcap/tidb#6942
pingcap/tidb#7606