Mysql restore from sql file syntax error
Posted by: shahriar shams
Date: March 26, 2007 07:22PM


I am using the following command to restore data from the backup file to the database alov and always find syntax error. backup.sql file is located under c: directory.

mysql -u <username> -p alov < /backup.sql;
1064 (42000): You have an error in your SQL syntax;

I tried many other ways to specify the path but still the same prob.

Any clues!!


Options: ReplyQuote

Written By
Mysql restore from sql file syntax error
March 26, 2007 07:22PM

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.