Ubuntu 14.04中Mysql中文乱码问题最小化解决

Posted on 2015-12-08 11:18  南岗V哥  阅读(172)  评论(0编辑  收藏  举报

[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