-
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
Default collation changes in case sensitivity between TiDB and MySQL #29350
Comments
/type compatibility |
Different client versions behave differently. This might be because some of them might issue a
|
I think it's documented in https://docs.pingcap.com/tidb/stable/mysql-compatibility#default-differences ? |
It indeed is documented, but as this is causing problems for applications it would be good if we can change this to be more compatible. |
But it will break backward compatibility, I think you can talk to our PM. It's not a technical problem, it's a product problem. |
IMHO in order to archive 'default case-insensitive collation', we need to set new collation enabled by default firstly. @wjhuang2016 Are you interested in this work? |
Bug Report
1. Minimal reproduce step (Required)
TiDB:
MySQL 8.0
MySQL 5.7:
2. What did you expect to see? (Required)
Similar behavior between TiDB and MySQL.
3. What did you see instead (Required)
The default collation behaves case sensitive (binary) for TiDB.
Workaround
Using
SET NAMES
and/or charset/collation settings in the connection properties when connecting.The text was updated successfully, but these errors were encountered: