MySQL Forums
Forum List  »  PHP

Problems with Load Data
Posted by: Davide Libertini
Date: April 12, 2010 07:22AM

Hello!

I've got a php + mysql site and I have to load a particulary .csv file from a network attached drive. I used this instruction: "load data local infile 'W:/ccs__2010-04-09.csv' into table line1 fields terminated by '\t' lines terminated by '\r\n';" but it fails with mysql_query in php, giving this error: "File 'W:\ccs__2010-04-09.xls' not found (Errcode: 2) ". Instead if I execute the instruction with Workbench it functions normally. Any idea??

Thank you!

Options: ReplyQuote


Subject
Written By
Posted
Problems with Load Data
April 12, 2010 07:22AM


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.