-
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
Compatible with mysql support change default collation for utf8mb4 #45455
Comments
Mysql will discard this variable in the future, so this is not a good feature request,I think we should have the table collation inherit from the default collation of the database.
|
Isn't it just the current behavior?
You'll see the collation of the table is |
Looks like this already works:
So:
Once #37566 is done we could consider changing the default collation of TiDB to match MySQL or make it configurable by supporting This is related to #29350 |
Feature Request
Is your feature request related to a problem? Please describe:
Mysql 8.0 support change default collation for utf8mb4.If we create table with DEFAULT CHARSET=utf8mb4,but did not specify collation, so the value of collation is inherited from default_collation_for_utf8mb4.But tidb doesn't support it yet.
Describe the feature you'd like:
TiDB should support default_collation_for_utf8mb4 variable let user can change the default collation for utf8mb4.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: