原帖由 chiaho 于 2006-8-17 20:15 发表
Script: /plugin.php
SQL: SELECT * FROM cdb_thanklog WHERE asfe='thank' and fromuser='sexy99' and touser='隨風飄逝' and tid='594'
Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) an ...
更改你的數據庫字符集 gbk
或是反安裝數據後重新升級數據庫
簡體
- CREATE TABLE `cdb_thanklog` (
- `id` mediumint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
- `fromuser` varchar( 15 ) NOT NULL default '',
- `fromuseruid` mediumint( 8 ) NOT NULL ,
- `touser` varchar( 15 ) NOT NULL default '',
- `asfe` varchar( 8 ) NOT NULL default '',
- `score` int( 10 ) NOT NULL default '0',
- `tid` varchar( 15 ) NOT NULL default '',
- `aswhat` varchar( 100 ) NOT NULL default '',
- `logdate` date NOT NULL ,
- PRIMARY KEY ( `id` )
- ) ENGINE = MYISAM CHARSET=gbk;
复制代码
繁體
- CREATE TABLE `cdb_thanklog` (
- `id` mediumint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
- `fromuser` varchar( 15 ) NOT NULL default '',
- `fromuseruid` mediumint( 8 ) NOT NULL ,
- `touser` varchar( 15 ) NOT NULL default '',
- `asfe` varchar( 8 ) NOT NULL default '',
- `score` int( 10 ) NOT NULL default '0',
- `tid` varchar( 15 ) NOT NULL default '',
- `aswhat` varchar( 100 ) NOT NULL default '',
- `logdate` date NOT NULL ,
- PRIMARY KEY ( `id` )
- ) ENGINE = MYISAM CHARSET=big5;
复制代码
[ 本帖最后由 阿狗狗 于 2006-8-18 00:06 编辑 ] |