kem
|
分享:
▼
x0
|
[][已解] 我的PHPWIND在安裝時出現錯誤!!
【類型】主程式 【版本】2.02 昨天的文章昨天經過反覆試驗後已進入PW檢查資料庫配置文件頁 (解決方法:建立ㄧ個使用者ODBC,然後開資料庫權限....) 但是還是有錯誤.......... 錯誤: Query Error: CREATE TABLE pw_threads (tid mediumint(8) unsigned NOT NULL auto_increment,fid smallint(6) NOT NULL default Ɔ',icon tinyint(2) NOT NULL default Ɔ',titlefont char(15) NOT NULL default '',author char(15) NOT NULL default '',authorid mediumint(8) unsigned NOT NULL default Ɔ',subject char(130) NOT NULL default '',ifmark smallint(6) NOT NULL default '',ifcheck tinyint(1) NOT NULL default Ɔ',type tinyint(2) NOT NULL default Ɔ',postdate int(10) unsigned NOT NULL default Ɔ',lastpost int(10) unsigned NOT NULL default Ɔ',lastposter char(15) NOT NULL default '',hits int(10) NOT NULL default Ɔ',replies int(10) NOT NULL default Ɔ',topped tinyint(1) NOT NULL default Ɔ',locked tinyint(1) NOT NULL default Ɔ',digest tinyint(1) NOT NULL default Ɔ',ifupload tinyint(1) NOT NULL default Ɔ',pollid int(10) NOT NULL default Ɔ',ifmail tinyint(1) NOT NULL default Ɔ',PRIMARY KEY (tid),KEY lastpost (fid,topped,lastpost),KEY tid (tid,postdate),KEY authorid (authorid),KEY digest (digest),KEY type (type),KEY postdate (postdate)) 請問大大如何解決?? 配備跟昨天一樣..
[ 此文章被kem在2005-07-06 11:35重新編輯 ]
|
|
kem
|
分享:
▲
▼
資料庫是空的 我用 MySQL 版本 5.0.7-beta-nt 在 localhost 執行,登入者為 root@localhost ------------------------------------------------------ Query Error: CREATE TABLE pw_threads (tid mediumint(8) unsigned NOT NULL auto_increment,fid smallint(6) NOT NULL default Ɔ',icon tinyint(2) NOT NULL default Ɔ',titlefont char(15) NOT NULL default '',author char(15) NOT NULL default '',authorid mediumint(8) unsigned NOT NULL default Ɔ',subject char(130) NOT NULL default '',ifmark smallint(6) NOT NULL default '',ifcheck tinyint(1) NOT NULL default Ɔ',type tinyint(2) NOT NULL default Ɔ',postdate int(10) unsigned NOT NULL default Ɔ',lastpost int(10) unsigned NOT NULL default Ɔ',lastposter char(15) NOT NULL default '',hits int(10) NOT NULL default Ɔ',replies int(10) NOT NULL default Ɔ',topped tinyint(1) NOT NULL default Ɔ',locked tinyint(1) NOT NULL default Ɔ',digest tinyint(1) NOT NULL default Ɔ',ifupload tinyint(1) NOT NULL default Ɔ',pollid int(10) NOT NULL default Ɔ',ifmail tinyint(1) NOT NULL default Ɔ',PRIMARY KEY (tid),KEY lastpost (fid,topped,lastpost),KEY tid (tid,postdate),KEY authorid (authorid),KEY digest (digest),KEY type (type),KEY postdate (postdate)) The URL Is: http://loc...ostMySQL Server Error: Invalid default value for 'ifmark' ( 1067 ) You Can Get Help In: http://www.ph....net
[ 此文章被kem在2005-07-06 11:43重新編輯 ]
|
|
aa
|
分享:
▲
▼
CREATE TABLE pw_threads (tid mediumint(8) unsigned NOT NULL auto_increment,fid smallint(6) NOT NULL default Ɔ',icon tinyint(2) NOT NULL default Ɔ',titlefont char(15) NOT NULL default '',author char(15) NOT NULL default '',authorid mediumint(8) unsigned NOT NULL default Ɔ',subject char(130) NOT NULL default '',ifmark smallint(6) NOT NULL default Ɔ',ifcheck tinyint(1) NOT NULL default Ɔ',type tinyint(2) NOT NULL default Ɔ',postdate int(10) unsigned NOT NULL default Ɔ',lastpost int(10) unsigned NOT NULL default Ɔ',lastposter char(15) NOT NULL default '',hits int(10) NOT NULL default Ɔ',replies int(10) NOT NULL default Ɔ',topped tinyint(1) NOT NULL default Ɔ',locked tinyint(1) NOT NULL default Ɔ',digest tinyint(1) NOT NULL default Ɔ',ifupload tinyint(1) NOT NULL default Ɔ',pollid int(10) NOT NULL default Ɔ',ifmail tinyint(1) NOT NULL default Ɔ',PRIMARY KEY (tid),KEY lastpost (fid,topped,lastpost),KEY tid (tid,postdate),KEY authorid (authorid),KEY digest (digest),KEY type (type),KEY postdate (postdate))
用這個試試,那是因為 ifmark 你是設整數欄位,而你的內定值確用空格造成的..
|
|
x1
[6 樓]
From:台灣台灣固網
| Posted:2005-07-06 22:14 |
|
|
|