Skip to content

Instantly share code, notes, and snippets.

@yaleksandr89
Created February 29, 2020 14:48
Show Gist options
  • Save yaleksandr89/764ac0e7c64b1f0b796d6bc800e4ba04 to your computer and use it in GitHub Desktop.
Save yaleksandr89/764ac0e7c64b1f0b796d6bc800e4ba04 to your computer and use it in GitHub Desktop.
/etc/mysql/
my.conf
Add to appropriate sections:
[mysqld]
character-set-server=utf8
collation-server=utf8_general_ci
init-connect="SET NAMES utf8"
skip-character-set-client-handshake
[client]
default-character-set = utf8
[mysqldump]
default-character-set = utf8
[mysql]
default-character-set = utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment