Discuz! info: MySQL Query Error
User: admin
Time: 2007-4-15 10:42am
Script: /bbs/admincp.php
SQL: CREATE TABLE [Table]albumcla ( id int(10) unsigned NOT NULL auto_increment, parentid int(10) unsigned NOT NULL default '0', claname char(30) NOT NULL default '', uid mediumint(8) unsigned NOT NULL default '0', photoname char(100) NOT NULL default '', createtime int(10) unsigned NOT NULL default '0', updatetime int(10) unsigned NOT NULL default '0', sortid int(10) unsigned NOT NULL default '0', clatype tinyint(1) unsigned NOT NULL default '0', photocount smallint(5) unsigned NOT NULL default '0', viewtype tinyint(1) unsigned NOT NULL default '1', passwd char(16) NOT NULL default '111111', clicktimes mediumint(8) unsigned NOT NULL default '0', describe char(50) NOT NULL default '', KEY id (id), KEY uid (uid), KEY parentid (parentid), KEY viewtype (viewtype), KEY photocount (photocount), KEY sortid (sortid)) TYPE=MyISAM AUTO_INCREMENT=21
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char(50) NOT NULL default '', KEY id (id), KEY uid (
Errno.: 1064
导入数据出现这个 |