MySQL Forums
Forum List  »  General

HELP - sql commands in text file
Posted by: ANdy Croxall
Date: April 23, 2005 01:19PM

Hi all, can anyone tell me why the following doesn't work?

mysql -u root -p -D mydatabase < 'c:/sqlcommands.txt'

All I ever get is the 'filename or volume' invalid, or something like that. It's not an issue with the path to the file, because I use c:/filename for other kinds of imports and it goes in fine. I urgently need to load some sql commands from this file else I have a lot of work to do! Thanks in advance.

Options: ReplyQuote


Subject
Written By
Posted
HELP - sql commands in text file
April 23, 2005 01:19PM


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.