[mysqld]下添加的应该为:
character-set-server=utf8
collation-server=utf8_general_ci
[client]下添加:
default-character-set=utf8
[mysqld]下添加: