MySQL Forums
Forum List  »  Newbie

Re: Failed to open file 'file_name' error: 2
Posted by: Quyen Tram
Date: July 02, 2008 04:06AM

I WAS HAVING THE SAME PROBLEM AND GOT IT RESOLVED. IN CASE ANYONE ELSE NEED IT. THE COMMAND SHOULD BE
SOURCE C:/DATA/test.sql;
(SOURCE PATH/FILE_NAME.EXT)

THE PROBLEM WAS THE '\'. MYSQL THINK THAT YOU ARE ADDING EXTRA PARAMETER TO YOUR COMMAND BECAUSE THIS CHARACTER IS A COMMAND CHARACTER IN SQL.



Edited 1 time(s). Last edit at 07/02/2008 04:08AM by Quyen Tram.

Options: ReplyQuote


Subject
Written By
Posted
Re: Failed to open file 'file_name' error: 2
July 02, 2008 04:06AM


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.