dbTalk Databases Forums  

Error 1 : Can't create/write to file

comp.databases.mysql comp.databases.mysql


Discuss Error 1 : Can't create/write to file in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luca
 
Posts: n/a

Default Error 1 : Can't create/write to file - 07-21-2006 , 07:31 AM






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



Reply With Quote
  #2  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: Error 1 : Can't create/write to file - 07-21-2006 , 08:54 PM






Luca wrote:
Quote:
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 (AT) attglobal (DOT) net
==================


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.