| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Simcha Younger | Date: | December 2 2010 10:05am |
| Subject: | Re: Sending an output of a query to file in debian lenny | ||
| View as plain text | |||
On Thu, 2 Dec 2010 10:06:21 +0100 bars0 bars0 <bars0.bars0.bars0@stripped> 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 <simcha@stripped>
| Thread | ||
|---|---|---|
| • Sending an output of a query to file in debian lenny | bars0 bars0 | 2 Dec |
| • Re: Sending an output of a query to file in debian lenny | Johan De Meersman | 2 Dec |
| • Re: Sending an output of a query to file in debian lenny | Simcha Younger | 2 Dec |
| • Re: Sending an output of a query to file in debian lenny | bars0 bars0 | 2 Dec |
| • Re: Sending an output of a query to file in debian lenny | Johan De Meersman | 2 Dec |
