2009-08-30, 12:07 AM
Hello,
I'm trying to restore a backup from 1.2 on a 1.2 version MyBB board, but I keep erroring.
I'm guessing its because I was using a older version of MySQL at the time, any idea on how I can get compatibility with sql 5+?. Thank you.
I'm trying to restore a backup from 1.2 on a 1.2 version MyBB board, but I keep erroring.
#1064 - 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 ''mybb_adminlog' ( `uid` int(10) unsigned NOT NULL default '0', `dateline` ' at line 1
CREATE TABLE `mybb_adminlog` (
`uid` int(10) unsigned NOT NULL default '0',
`dateline` bigint(30) NOT NULL default '0',
`scriptname` varchar(50) NOT NULL default '',
`action` varchar(50) NOT NULL default '',
`querystring` varchar(150) NOT NULL default '',
`ipaddress` varchar(50) NOT NULL default '',
KEY `scriptname` (`scriptname`,`action`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
INSERT INTO mybb_adminlog (uid,dateline,scriptname,action,querystring,ipaddress) VALUES ('1','1163696637','index.php','home',NULL,'72.232.56.122')
INSERT INTO mybb_adminlog (uid,dateline,scriptname,action,querystring,ipaddress) VALUES ('1','1163696641','index.php','vercheck',NULL,'72.232.56.122')
I'm guessing its because I was using a older version of MySQL at the time, any idea on how I can get compatibility with sql 5+?. Thank you.