[snip]
I've been tinkering with the code for the above for some time now and
keep
getting the same error: "Access Denied..."

Can anyone help me find a solution to this as the user in question has
full
privileges to the database so I assume it's a directory access issue...
[/snip]


I am going to take a S.W.A.G. and assume that you are talking about 

SELECT stuff INTO OUTFILE "/path/where/I/want/file/to/go.txt"
FROM table

If this is the case....

a. This is a SQL question
2. You must have write permissions to the path (an OS question)

Since the DB has write permissions to the directory where it stores the
databases you could specify that path. Or you could find the permissions
of that path and apply them to another directory. The directory must be
world-writable by the SQL user (if MySQL, the user is usually
mysql....but can be different if you're working from the command line).

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to