MySQL Forums
Forum List  »  Backup

Re: Mysql backup/restore isn't working
Posted by: Felix Geerinckx
Date: June 01, 2005 01:29PM

Nathan Ricketts wrote:
> exporting mysqldump Ver 14.7 Distrib 4.1.8, for pc-linux (i686)
> importing mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)
>
> Command:
> # mysql -u(username) -p(password) -f -T (dbname) < (bkupfilename).sql
>
> Error Message:
> ERROR 1064 at line 20: You have an error in your SQL syntax near 'ENGINE=MyISAM DEFAULT
> CHARSET=latin1' at line 10


Use the '--compatible=mysql323' option with mysqldump when you export your database.
(see http://dev.mysql.com/doc/mysql/en/mysqldump.html)

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Mysql backup/restore isn't working
2606
June 01, 2005 01:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.