mysql

Configure Character set and Collation for Mysql 5.6.

November 9, 2015 Admin 0

Configure Character set and Collation for Mysql 5.6. # vi /etc/my.cnf [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock symbolic-links=0 character-set-server=utf8 collation-server=utf8_unicode_ci skip-character-set-client-handshake init-connect=’SET NAMES utf8′ […]