Skip navigation links

MySQL Forums :: Newbie :: Failed to open file 'file_name' error: 2


Advanced Search

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
Failed to open file 'file_name' error: 2 rick emmet 04/19/2005 05:27PM
Re: Failed to open file 'file_name' error: 2 Len Yabloko 04/30/2005 02:29AM
Re: Failed to open file 'file_name' error: 2 rick emmet 04/30/2005 10:37AM
Re: Failed to open file 'file_name' error: 2 James Maclory 08/22/2008 03:31AM
Re: Failed to open file 'file_name' error: 2 Quyen Tram 07/02/2008 04:06AM
Re: Failed to open file 'file_name' error: 2 Mike C 09/29/2006 05:50AM
Re: Failed to open file 'file_name' error: 2 Cathy Diver 12/21/2007 09:03AM
Re: Failed to open file 'file_name' error: 2 Ming Wen 08/21/2008 03:39AM
Re: Failed to open file 'file_name' error: 2 wenyin tang 05/24/2007 06:42AM
Re: Failed to open file 'file_name' error: 2 nayeli reyes 12/04/2007 03:35PM


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.