Inbal,
Monday, November 11, 2002, 7:10:49 PM, you wrote:

IO> I am working with mysql, in windows, visual c++.
IO> I am trying to run this query from c++ program:

IO> select * into outfile 'table_name.txt' FIELDS TERMINATED BY '\t' ESCAPED BY
IO> '\0' LINES TERMINATED BY '\r' from table_name

IO> And i get exception with this error: access is denied for user....

IO> (If i run this query from the data base client, i am success)

IO> How can i solve this problem?

You must have SELECT privilege on the table and FILE privileges to use
SELECT ..INTO OUTFILE command.



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