路漫漫其修远兮
吾将上下而求索

mysql学习:字符集设置

http://www.imooc.com/article/4425

http://www.cnblogs.com/sunzn/archive/2013/03/14/2960248.html

http://blog.sina.com.cn/s/blog_4550f3ca0101awyh.html

http://www.linuxfly.org/post/388/

[mysql] 
default-character-set=utf8 

[mysqld] 
character-set-server=utf8

mysql> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | utf8                       |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | utf8                       |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)

未经允许不得转载:江哥架构师笔记 » mysql学习:字符集设置

分享到:更多 ()

评论 抢沙发

评论前必须登录!