标签:
通过MySQL命令行修改:只是修改当前数据库的编码
mysql> set character_set_client=utf8;
mysql> set character_set_connection=utf8;
mysql> set character_set_database=utf8;
mysql> set character_set_results=utf8;
mysql> set character_set_server=utf8;
mysql> set character_set_system=utf8;
SHOW VARIABLES LIKE ‘character%‘;
标签:
原文地址:http://www.cnblogs.com/henrymo/p/4795712.html