Skip to content

Instantly share code, notes, and snippets.

@islander
Created September 21, 2017 06:39
Show Gist options
  • Save islander/3258c2f2c0ff1b196422d22f95c244ca to your computer and use it in GitHub Desktop.
Save islander/3258c2f2c0ff1b196422d22f95c244ca to your computer and use it in GitHub Desktop.
MySQL/MariaDB unicode configuration
# place in /etc/mysql/conf.d/
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment