编辑'/etc/my.cnf'文件
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
原文地址
http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf8-in-my-cnf
编辑'/etc/my.cnf'文件
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
原文地址
http://stackoverflow.com/questions/3513773/change-mysql-default-character-set-to-utf8-in-my-cnf