i also figured out that load_file only works on the local server, not from
clients...duh! 
thanks!

-----Original Message-----
From: Egor Egorov [mailto:egor.egorov@;ensita.net]
Sent: Tuesday, October 29, 2002 12:19 PM
To: [EMAIL PROTECTED]
Subject: re: using load_file...problems


Shon,
Tuesday, October 29, 2002, 7:01:47 PM, you wrote:

SS> i am trying to insert data into a blob column. its not working. i have
tried
SS> setting --local-infile=1. i tried granting file to my user and got an
error.
SS> i have read the manaul (for all you smarties who like to rtfm everyone)
and
SS> still don't get it. here is what i did for grant

SS> grant file on db.tablename to user;
SS> ERROR 1144: Illegal GRANT/REVOKE command. Please consult the manual
which
SS> privileges can be used.

SS> in the above case "user" already exists.

FILE is a global level privilege, you can give FILE_priv on a table.



-- 
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

---------------------------------------------------------------------
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