MySQL Forums
Forum List  »  InnoDB

Need URGENT HELP ON BACKUP
Posted by: Yahia Khan
Date: March 01, 2009 02:03AM

I am trying to restore a mysql dump file on windows vista
mysql version tryed both 4.0.12 and on 5.0.18-nt:

I have tryed with the following commands:

mysql -u user -p doc < c:/x.dump
mysql -h localhost -u root -p 123 doc < x.dump
mysql -u root -p 123 doc < x.dump

... aslo tryed copying dump file to the bin folder.

And in many other way ....

It is always showing the following error:

ERROR 1064: You have an error in your SQL syntax. Check the manual that corresp
onds to your MySQL server version for the right syntax to use near 'mysql -h loc
alhost -u root -p 123 doc < x.dump' at line 1


Please can you help me to sortout this problem.

Many thanks,

Yahia

Options: ReplyQuote


Subject
Views
Written By
Posted
Need URGENT HELP ON BACKUP
2999
March 01, 2009 02:03AM
2136
March 01, 2009 03:45AM
2174
March 01, 2009 07:33AM


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.