-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql client 8.0 failed to connect to tidb-server #6942
Comments
hint: it should be |
IMHO, current the handling logic of TiDB is more right than MySQL does, and we should not change this logic in current stage. In MySQL, use client-5.7 will forward compatible with server-8.0 like this. it will slient make collation be the So, we should NOT forward compatible with 8.0's new When meet this error, we can
and we will support unicode 9.0 in future. |
For MySql Workbench 8.0, there is no way to change character-set. Have to switch to Sequel Pro. |
If possible, provide a recipe for reproducing the error.
use mysql 8.0 client.
connected
ERROR 1105 (HY000): Unknown charset id 255
tidb-server -V
or runselect tidb_version();
on TiDB)?This issue is related with 8.0 new collation.
before we fix it, the user can add
--default-character-set utf8
when use MySQL 8.0 client to bypass this problem.The text was updated successfully, but these errors were encountered: