+---------------------------------------------------------------------------------------------------------+ | Grants for [EMAIL PROTECTED] | | +---------------------------------------------------------------------------------------------------------+ | GRANT SELECT, FILE ON *.* TO 'username'@'host-name.domain' IDENTIFIED BY PASSWORD |'cryptedfooey' | | GRANT ALL PRIVILEGES ON databasename.* TO 'username'@'host-name.domain' | | +---------------------------------------------------------------------------------------------------------+
I had added the select,file permissions by hand to user. -- Mark P. Hennessy [EMAIL PROTECTED] On Mon, 30 Sep 2002, Victoria Reznichenko wrote: > Date: Mon, 30 Sep 2002 13:53:01 +0300 > From: Victoria Reznichenko <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: re: granting FILE privileges > > Mark, > Saturday, September 28, 2002, 12:16:31 AM, you wrote: > > MH> I keep trying to grant file privileges to a user, but no matter what I do, > MH> it seems that the customer keeps getting access denied errors. > > MH> They are trying to execute the following: > MH> select * into outfile '/tmp/list.txt' fields terminated by "|" lines terminated >by "\n" from list; > MH> ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) > > MH> I have tried using GRANT and REVOKE to recreate the user with the correct > MH> priveleges. > > MH> I have even tried giving their user universal FILE and SELECT privileges > MH> by hand by inserting them into the user table, and of course, flushing > MH> privileges, and no luck. > > MH> Any ideas as to what settings could need to be changed? Possibly a > MH> restriction set at compile-time on users? > > Mark, could you please provide output of SHOW GRANTS for your user? > > > -- > For technical support contracts, goto https://order.mysql.com/?ref=ensita > This email is sponsored by Ensita.net http://www.ensita.net/ > __ ___ ___ ____ __ > / |/ /_ __/ __/ __ \/ / Victoria Reznichenko > / /|_/ / // /\ \/ /_/ / /__ [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