2014-07-12 14:21:40

View Mode: Normal | Article List
April, 2006 | 1

MySql4.1 乱码

[ 2006-04-16 21:37:39 | Author: zhenhua ]
头痛次数多了会折寿的` 我靠,Shit、Shift键 终于搞腚勒`

不同情况下安装方法不同,用默认的latin1编码;建表或导入数据时在CREATE () 后加
ENGINE=InnoDB DEFAULT CHARSET=latin1;

otherLog:
show variables like '%character%';
set names 'latin1';
+----------+-----------------------------+---------------------+--------+
| Charset | Description | Default collation | Maxlen |
+----------+-----------------------------+---------------------+--------+
| big5 | Big5 Traditional Chinese | big5_chinese_ci | 2 |
...

Read More...
1