I had Mambo running on my Slackware 9.x server just fine. I did a fresh install of 10.2, and now I cannot get the old database to import back to MySQL.
The error I get is
Code:
ERROR 1064 (42000) at line 145: 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 'option varchar(50) NOT NULL default '',
ordering int(11) NOT NULL default '0',' at line 9
The referenced line in the import file is
Code:
CREATE TABLE mos_components (
id int(11) NOT NULL auto_increment,
name varchar(50) NOT NULL default '',
link varchar(255) NOT NULL default '',
menuid int(11) unsigned NOT NULL default '0',
parent int(11) unsigned NOT NULL default '0',
admin_menu_link varchar(255) NOT NULL default '',
admin_menu_alt varchar(255) NOT NULL default '',
option varchar(50) NOT NULL default '',
ordering int(11) NOT NULL default '0',
admin_menu_img varchar(255) NOT NULL default '',
iscore tinyint(4) NOT NULL default '0',
params text NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
I am running the stock 4.1.14 MySQL that comes with Slackware 10.2.