[client]
default-character-set=utf8
[mysqld]
default-storage-engine=INNODB
character-set-server=utf8
collation-server=utf8_general_ci
[mysql]
default-character-set = utf8
/etc/init.d/mysql restart 重新启动mysql
数据库中status查看各项即变为utf8
Easy come,Easy go.目前专注项目管理开放平台的设计,大数据的企事业应用