MySQL Forums
Forum List  »  Backup

Re: Recovery
Posted by: Felix Geerinckx
Date: April 25, 2005 03:39AM

Justus Singarayan wrote:

> I took a backup of my Database using mysqldump utility.
>
> But I couldn't restore it.I tried it using the followibg command
>
> mysql db_name < backup.sql
>
> it shows an error like this..
>
> ERROR 1064 at line 1: 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 'Enter password:
> DROP TABLE IF EXISTS employeemaster' at line 1

Use a text editor to remove the line that reads 'Enter password:' at the top of your backup.sql file and try again.

How did you invoke the mysqldump command?

--
felix

Options: ReplyQuote


Subject
Views
Written By
Posted
3461
April 25, 2005 03:27AM
Re: Recovery
2470
April 25, 2005 03:39AM
2352
April 25, 2005 09:37PM


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.