I am new to PHPMyAdmin and want to upload a text file. How do I do this? Do I use the following statement (This is what I used to upload to a local MySQL database in the past.)
LOAD DATA INFILE 'C:\WebInfo\eva1-18-05.txt' INTO TABLE egov
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
(ID, LSIPN , ManPN, DESCRIPTION, SPSCCode, UnitPrice, UnitM, LeadTime, ManufacturerName, PaymentTerm, MinimumOrder, MaximumOrder, ServiceAreas, Image, Generic, Remanufcatured);
However when I use this I get an access denied error. Do I need to move the text file local? If so how do I give the file path name on a linux system?
Thanks,
Zych
LOAD DATA INFILE 'C:\WebInfo\eva1-18-05.txt' INTO TABLE egov
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\r\n'
(ID, LSIPN , ManPN, DESCRIPTION, SPSCCode, UnitPrice, UnitM, LeadTime, ManufacturerName, PaymentTerm, MinimumOrder, MaximumOrder, ServiceAreas, Image, Generic, Remanufcatured);
However when I use this I get an access denied error. Do I need to move the text file local? If so how do I give the file path name on a linux system?
Thanks,
Zych