18.04.2007, 07:24
Hallo zusammen,
ich habe das folgende Problem mit dem Rückspielen eines Backups, diese Tabelle wird nicht angelegt, alle anderen sind da. kann mir jemand verraten wo der syntax-fehler ist? bin leider recht unbedarft :-(
SQL-Befehl :
CREATE TABLE IF NOT EXISTS `mybb_threads` (
`tid` int(10) unsigned NOT NULL auto_increment,
`fid` smallint(5) unsigned NOT NULL default '0',
`subject` varchar(120) binary NOT NULL default '',
`icon` smallint(5) unsigned NOT NULL default '0',
`poll` int(10) unsigned NOT NULL default '0',
`uid` int(10) unsigned NOT NULL default '0',
`username` varchar(80) binary NOT NULL default '',
`dateline` bigint(30) NOT NULL default '0',
`firstpost` int(10) unsigned NOT NULL default '0',
`lastpost` bigint(30) NOT NULL default '0',
`lastposter` varchar(120) binary NOT NULL default '',
`lastposteruid` int(10) unsigned NOT NULL default '0',
`views` int(100) NOT NULL default '0',
`replies` int(100) NOT NULL default '0',
`closed` varchar(30) binary NOT NULL default '',
`sticky` int(1) NOT NULL default '0',
`numratings` smallint(5) unsigned NOT NULL default '0',
`totalratings` smallint(5) unsigned NOT NULL default '0',
`notes` text NOT NULL,
`visible` int(1) NOT NULL default '0',
`unapprovedposts` int(10) unsigned NOT NULL default '0',
`attachmentcount` int(10) unsigned NOT NULL default '0',
`deletetime` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tid`),
FULLTEXT KEY `subject` (`subject`)
) TYPE=MyISAM AUTO_INCREMENT=61
MySQL meldet:
Can't create table './DB132267/mybb_threads.frm' (errno: 140)
ich habe das folgende Problem mit dem Rückspielen eines Backups, diese Tabelle wird nicht angelegt, alle anderen sind da. kann mir jemand verraten wo der syntax-fehler ist? bin leider recht unbedarft :-(
SQL-Befehl :
CREATE TABLE IF NOT EXISTS `mybb_threads` (
`tid` int(10) unsigned NOT NULL auto_increment,
`fid` smallint(5) unsigned NOT NULL default '0',
`subject` varchar(120) binary NOT NULL default '',
`icon` smallint(5) unsigned NOT NULL default '0',
`poll` int(10) unsigned NOT NULL default '0',
`uid` int(10) unsigned NOT NULL default '0',
`username` varchar(80) binary NOT NULL default '',
`dateline` bigint(30) NOT NULL default '0',
`firstpost` int(10) unsigned NOT NULL default '0',
`lastpost` bigint(30) NOT NULL default '0',
`lastposter` varchar(120) binary NOT NULL default '',
`lastposteruid` int(10) unsigned NOT NULL default '0',
`views` int(100) NOT NULL default '0',
`replies` int(100) NOT NULL default '0',
`closed` varchar(30) binary NOT NULL default '',
`sticky` int(1) NOT NULL default '0',
`numratings` smallint(5) unsigned NOT NULL default '0',
`totalratings` smallint(5) unsigned NOT NULL default '0',
`notes` text NOT NULL,
`visible` int(1) NOT NULL default '0',
`unapprovedposts` int(10) unsigned NOT NULL default '0',
`attachmentcount` int(10) unsigned NOT NULL default '0',
`deletetime` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tid`),
FULLTEXT KEY `subject` (`subject`)
) TYPE=MyISAM AUTO_INCREMENT=61
MySQL meldet:
Can't create table './DB132267/mybb_threads.frm' (errno: 140)