If you come across the following error in MySQL; don’t be a dumb ass like me.
The error was being thrown from the following statement:
The problem is that the character set should be
utf8. I was under the impression that the collation of
utf8mb4 was part of the
utf8 character set. Clearly not.
So the correct statement would be:
Note that you’ll need MySQL version >= 5.5 to use the utf8mb4 character set.