mysql修改字符集方法

在mysql配置文件my.ini中[mysqld]加入

## UTF 8 Settings
init-connect=\'SET NAMES utf8\'
collation_server=utf8_unicode_ci
character_set_server=utf8
skip-character-set-client-handshake

posted @ 2015-01-09 14:02  知信行  阅读(169)  评论(0)    收藏  举报