Ok, I'm trying to load a text file into my mySQL database with the following command in phpMyAdmin:
LOAD DATA LOCAL INFILE "/usr/local/psa/home/vhosts/QuoteWorld.org/httpdocs/archive.txt" INTO TABLE quotations FIELDS TERMINATED BY '~';
When I use the LOCAL command, it does not find the file. Perhaps there is a path relative to the "LOCAL" file that I'm not aware of?
If I take the LOCAL out, and run it like this:
LOAD DATA INFILE "/usr/local/psa/home/vhosts/QuoteWorld.org/httpdocs/archive.txt" INTO TABLE quotations FIELDS TERMINATED BY '~';
It finds the file without trouble, but then tells me that access is denied like this:
Access denied for user: 'quoteworld@localhost' (Using password: YES)
So, my amateur conclusion is that my user does not have the proper priveleges to LOAD a non-LOCAL file, but I do not know the relative path to tell the DB where the file is in terms of what it considers to be "LOCAL". My IPP isn't much help on this matter, and I do not have telnet access to change my user's priveleges.
If anyone has any suggestions on what the relative path might be, how I can change my user's priveleges from within phpMyAdmin, or any other way I can load this file, I would be eternally greatful.
Thanks!
Brian Baker