problem locating a file with mysql
Posted: Tue Feb 27, 2007 6:30 pm
feyd | Please use
can someone let me know where im going rong
thanks[/quote]
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
im trying to run this sript and its saying the file is not found
[quote]File '\home\computer\public_html\cw.csv' not found (Errcode: 2)[/quote]
from the web site of my hosting (http://www.mdwebhosting) it has the dirctory structor as:
[quote]
Path to User files The path to your user files on Hosting, Budget Hosting, Linux Reseller Hosting, eShops is /home/username/public_html (replace username with your hosting name)
[/quote]
[syntax="sql"]
LOAD DATA LOCAL INFILE '/home/computer/public_html/cw.csv'
INTO TABLE `newprice list`
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'thanks[/quote]
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]