楼主 怎么回复 导入数据库错误 大家都先别买 根本不能用。希望楼主解决
错误
SQL 查询:
CREATE TABLE `uchome_app_info` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`title` varchar( 255 ) NOT NULL default '',
`typeid` smallint( 4 ) NOT NULL default '0',
`uid` int( 11 ) NOT NULL default '0',
`username` varchar( 50 ) NOT NULL default '',
`address` char( 50 ) default NULL ,
`contact` varchar( 50 ) default NULL ,
`tel` varchar( 50 ) default NULL ,
`content` mediumtext,
`tag` varchar( 250 ) default NULL ,
`dateline` int( 11 ) NOT NULL default '0',
`score` smallint( 4 ) NOT NULL default '0',
`view_count` int( 11 ) NOT NULL default '0',
`reply_count` int( 11 ) NOT NULL default '0',
`status` smallint( 1 ) NOT NULL default '0',
`msg` mediumtext,
PRIMARY KEY ( `id` ) ,
KEY `typeid` ( `typeid` )
) ENGINE = MYISAM AUTO_INCREMENT =12 DEFAULT CHARSET = gbk;
MySQL 返回:
#1050 - Table 'uchome_app_info' already exists
MySQL Error
Message: MySQL Query Error
SQL: INSERT INTO uchome_app_info (`uid`, `username`, `title`, `content`, `contact`, `tel`, `address`, `typeid`, `score`, `dateline`, `status`) VALUES ('1', 'lowkeys', '求组南龙国际房子,500元以内!', '
求组南龙国际房子,500元以内!
', '郭经理', '2084888', '鸿星网络', '3', '50', '1235575374', '1')
Error: Unknown column 'contact' in 'field list'
程序文件跟数据库有冲突,请使用正确的程序文件上传上去覆盖
Click here to seek help. |