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 |
|
|
|