Rick Duley <[EMAIL PROTECTED]> wrote:
> Hi folks
> 
> I am running MySQL 4..0.7-gamma on Red Hat Linux 7.2.
> 
> I wish to download data from my database.
> 
> I have a directory called 'Results' with permissions set to: drwxrwxrwx
> 
> I enter the command:
> 
>      SELECT * INTO OUTFILE '/home/rick/Results/Results.txt' FROM Answer;
> 
> and I get:
> 
>      ERROR 1045: Access denied for user '[EMAIL PROTECTED]' (Using password: YES)
> 
> The command without the  "INTO OUTFILE '/home/rick/Results/Results.txt'" 
> clause works just fine.
> 
> Where have I missed the bus?
> 
> Thanks
> 

User must have FILE privilege to use SELECT INTO OUTFILE and LOAD DATA INFILE commands.


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





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to