question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

charset + collation transformer (fix utf8mb4)

See original GitHub issue

Add a command that does ALTER DATABASE, and ALTER TABLE as required to change character set for the database from utf8 to utf8mb4, or rather, from any arbitrary charset + collation to any other.

Don’t forget to remove the note in the checks docs about this being WIP.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
cassiemeharrycommented, Aug 25, 2016

@adamchainz: I’ve put together a management command for this that I’m currently testing internally. This isn’t a “help wanted” ticket, so I thought I’d check if you were interested in it before submitting a PR.

2reactions
adamchainzcommented, Nov 16, 2022

See #959

Read more comments on GitHub >

github_iconTop Results From Across the Web

COLLATION utf8_unicode_ci is not valid for CHARACTER ...
COLLATION 'utf8_unicode_ci' is not valid for CHARACTER SET 'utf8mb4'. This error shows up if you have different character and collation setting in your ......
Read more >
10.9.1 The utf8mb4 Character Set (4-Byte UTF-8 Unicode ...
10.9.1 The utf8mb4 Character Set (4-Byte UTF-8 Unicode Encoding) · Supports BMP and supplementary characters. · Requires a maximum of four bytes per...
Read more >
How to Fix the Collation and Character Set of a MySQL ...
mysql> ALTER TABLE AO_1FA2A8_SCRUM_POKER_SESSION CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; ERROR 3780 (HY000): Referencing column 'SESSION_ID' ...
Read more >
mysql - How to overcome performance issue when converting ...
And here comes the problem. Mere 60k row table, with ONE utf8mb4 column of 64 characters required 10 hours to complete. No, it...
Read more >
DB Setup - Pimcore
If you create a new database just set the character set to utf8mb4 . ... To fix this, place the pimcore.cnf file in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found