I am trying to insert emoji\'s into a certain filed in my mysql table. I ran alter command and changed the collation to \"utf8mb4_general_ci\"
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', ... 'OPTIONS': { 'charset': 'utf8mb4', 'use_unicode': True, }, }, }
my.cnf:
my.cnf
[mysqld] character-set-server=utf8mb4 default-collation=utf8mb4_unicode_ci [client] default-character-set=utf8mb4