Hi everybody,
I have a problem trying to move a wb installation from one server to another: When I try to import the mysql dump from the old server (mysql 4.1.9) into the new one (mysql 4.0.26) the error message says:
#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 'DEFAULT CHARSET=latin1' at line 13
The line in the sql file is:
CREATE TABLE `addons` (
`addon_id` int(11) NOT NULL auto_increment,
`type` varchar(255) NOT NULL default '',
`directory` varchar(255) NOT NULL default '',
`name` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`function` varchar(255) NOT NULL default '',
`version` varchar(255) NOT NULL default '',
`platform` varchar(255) NOT NULL default '',
`author` varchar(255) NOT NULL default '',
`license` varchar(255) NOT NULL default '',
PRIMARY KEY (`addon_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
I think I have already seen this message before, after I updated the guestbook from 1.9 to the current 2.2 version, but I can't remember, where the message could have been displayed. (And everything works fine with the whole site and the guestbook on the old server.)
Please, can anybody help me?
Regards
Jochen
***UPDATE***
I could solve the problem this way:
In a support forum by domainfactory.de I read about replacing the lines
ENGINE=MyISAM DEFAULT CHARSET=latin1;
in the sql file with
TYPE=MyISAM;
And it works!
If anybody knows, if this replacement could have any other negative effects, please tell me!
Regards
Jochen