On Thu, 2 Dec 2010 10:06:21 +0100
bars0 bars0 <[email protected]> wrote:

> Hi everyone!
> 
> I try o send an output of a query in debian lenny, using: SELECT....INTO
> OUTFILE '/my_path/my_file' FROM...but I get an error: ERROR 1 (HY000): Can't
> create/write to file... (Errcode 13).
> What's the problem?

You probably have apparmor installed, and it prevents mysql from writing to any 
directory other than the mysql data directories, regardless of which user it is 
running under.


-- 
Simcha Younger <[email protected]>

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

Reply via email to