标签:
/etc/mysql/my.cnf
/etc/init.d/mysql stop /etc/init.d/mysql start
[client] default-character-set = utf8 [mysqld] character-set-server = utf8 init_connect = ‘SET NAMES utf8‘ [mysql] default-character-set = utf8
SHOW VARIABLES LIKE ‘character_set_%‘;
标签:
原文地址:http://www.cnblogs.com/jzm17173/p/5495241.html