<cwilli14,
Tuesday, December 03, 2002, 10:03:06 PM, you wrote:

cardrdc> This also does not enable me to upload a data file. My resulting SQL
cardrdc> statement reads:

cardrdc> LOAD DATA LOCAL '/tmp/phpgPhl51' INTO TABLE test FIELDS TERMINATED BY ','
cardrdc> ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n'

cardrdc> I have also tried:
cardrdc> LOAD DATA LOCAL INFILE '/tmp/phpgPhl51' INTO TABLE test FIELDS TERMINATED BY
cardrdc> ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n'

And? What did you get? Error or what?

cardrdc> My hosting provider claims that I have no choice in this matter because of
cardrdc> the security reference you have noted. However I find it hard to believe
cardrdc> that this privilege can't be granted on a user by user basis as you would
cardrdc> GRANT INSERT, DELETE...and so on.

File privilege for LOAD DATA is a global level privilege.




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to