Unix Technical Forum

Error 1 : Can't create/write to file

This is a discussion on Error 1 : Can't create/write to file within the MySQL forums, part of the Database Server Software category; --> I'm really not able to resolve this. I have a SELECT...INTO OUTFILE query If I execute it I receive: ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 08:57 AM
Luca
 
Posts: n/a
Default Error 1 : Can't create/write to file

I'm really not able to resolve this.

I have a SELECT...INTO OUTFILE query

If I execute it I receive:
Error 1 : Can't create/write to file 'myfile.txt'

I've read
http://dev.mysql.com/doc/refman/5.0...not-create.html

and so :
1. I've modified " #tmp= /tmp " in " tmp=/tmp/mysql_tmp
2. I've give it permission (mysql)
3. I've modified php safe_mode to off

I still receive the same error. Why??

Luca


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 08:57 AM
Jerry Stuckle
 
Posts: n/a
Default Re: Error 1 : Can't create/write to file

Luca wrote:
> I'm really not able to resolve this.
>
> I have a SELECT...INTO OUTFILE query
>
> If I execute it I receive:
> Error 1 : Can't create/write to file 'myfile.txt'
>
> I've read
> http://dev.mysql.com/doc/refman/5.0...not-create.html
>
> and so :
> 1. I've modified " #tmp= /tmp " in " tmp=/tmp/mysql_tmp
> 2. I've give it permission (mysql)
> 3. I've modified php safe_mode to off
>
> I still receive the same error. Why??
>
> Luca
>
>


Did you take the # away from the front of the line? Otherwise it's a
comment.

Do YOU have write permission for /tmp/mysql_tmp?


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com