[client]
default-character-set=utf8
[mysqld]
#skip-name-resolve
character_set_server=utf8
#character_set_client=utf8
collation-server=utf8_general_ci
init_connect=‘SET NAMES utf8‘
max_connections=1000
[mysqld]
basedir=E:\mysql
datadir=E:\mysql\data
port=3306
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
skip-grant-tables
原文:http://www.cnblogs.com/cyl048/p/7868374.html