I'm trying to use PHP and MySQL to query a table and write the contents to a
new file. When run the command to outfile it tells me I don't have
permissions. This is on a Unix machine.

mysql> select * into outfile
"/home/u1/funfun/www.somewebsite.com/catalogreq/
catalog.txt"
mysql> fields terminated by ',' optionally enclosed by '"'
mysql> fields terminated by ',' optionally enclosed by '"'
mysql> fields terminated by ',' optionally enclosed by '"'




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to