Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
MySQL 5.X UTF-8 config
[client]
character-set-server = utf8
[mysqld]
character-set-server = utf8
collation-server = utf8_unicode_ci
character-sets-dir = /usr/share/mysql/charsets
#default-character-set = utf8
init-connect = 'SET NAMES utf8'
[mysql]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
[mysqladmin]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
[mysqlcheck]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
[mysqldump]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
[mysqlimport]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
[mysqlshow]
character-sets-dir = /usr/share/mysql/charsets
character-set-server = utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment