Hunter的大杂烩 技术学习笔记

2012-08-23

mysql 乱码产生探讨[转]

Filed under: 技术话题 — hunter @ 12:03 pm

from:http://blog.csdn.net/dubiousway/article/details/7075708

实验一
1。首先,在下面情况下:
mysql> show variables like ‘character_set_%’;
+————————–+—————————————+
| Variable_name | Value |
+————————–+—————————————+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | D:\Programs\mysql5045\share\charsets\ |
+————————–+—————————————+
建表,并加入3个记录:大,阿,爱

(more…)

Powered by WordPress