You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is required for 4-byte UTF 8 encoding (which is required for things like certain UTF-8 character sets and certain emojis) whereas mysql defaults will use only 3-bytes for UTF 8.
I recommend changing the default mysql database config in
database.php
to the following Laravel 9 Defaults:(See lines 55, 56 here: https://github.com/laravel/laravel/blob/9.x/config/database.php)
existing graphene defaults are:
This is required for 4-byte UTF 8 encoding (which is required for things like certain UTF-8 character sets and certain emojis) whereas mysql defaults will use only 3-bytes for UTF 8.
Notably, we may need to run an additional migration to update the database, table, and column defaults to use 4-byte UTF-8 after this change is made. More info here: https://stackoverflow.com/questions/43003301/changing-laravel-mysql-to-utf8mb4-for-emoji-support-in-existing-database
The text was updated successfully, but these errors were encountered: