Skip to content
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

Support utf8mb3 charset naming for MySQL 8 and MariaDB 10.6 #1323

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

jeremy
Copy link
Contributor

@jeremy jeremy commented Aug 2, 2023

MySQL and MariaDB have long aliased the utf8 charset to the underlying utf8mb3. They both switched to report the underlying utf8mb3 charset name instead of the utf8 alias name, allowing utf8 to target utf8mb4 in the future.

That means we need to explicitly map utf8mb3 for folks running newer MySQL/MariaDB with older utf8 dbs.

Closes #1315

MySQL and MariaDB have long aliased the `utf8` charset to the
underlying `utf8mb3`. They both switched to report the underlying
charset name instead of the alias name, allowing `utf8` to target
`utf8mb4` in the future.

That means we need to explicitly map `utf8mb3` for folks running
newer MySQL/MariaDB with older `utf8` dbs.
@sodabrew
Copy link
Collaborator

sodabrew commented Aug 3, 2023

Failures fixed by #1324, thanks for both!

@sodabrew sodabrew merged commit a5ff23f into brianmario:master Aug 3, 2023
7 of 24 checks passed
@jeremy jeremy deleted the utf8mb3 branch August 3, 2023 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mysql2::Error: Unsupported charset: '"utf8mb3"'
2 participants