原帖由 渡雨 于 2006-1-31 02:55 发表
Discuz! info: MySQL Query Error
User: 渡雨
Time: 2006-1-31 3:05am
Script: /banset.php
SQL:
CREATE TABLE `cdb_postban` (
`pb_id` int(10) unsigned NOT NULL auto_increment,
`username` varc ...
我装了后没事~你MYSQL版本多少?
你用这段升:
- CREATE TABLE `cdb_postban` (
- `pb_id` int(10) unsigned NOT NULL auto_increment,
- `username` varchar(15) NOT NULL default '',
- `opername` varchar(15) NOT NULL default '',
- `fid` smallint(6) unsigned NOT NULL default '0',
- `timelimit` int(10) unsigned NOT NULL default '0',
- `starttime` int(10) unsigned NOT NULL default '0',
- `pbmoney` int(10) NOT NULL default '0',
- `reason` text NOT NULL,
- PRIMARY KEY (`pb_id`),
- KEY `fid` (`fid`)
- ) TYPE=MyISAM ;
复制代码 |