Hi,

error 13 is permission denied

Remember that the full paths to files are for the server, and the 'user'
running the server must have permission to read/write the file as required,
not (necessarily) the user running the client.

Quentin

-----Original Message-----
From: Venugopal Allavatam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 14 November 2001 12:57 p.m.
To: [EMAIL PROTECTED]
Subject: File privileges?!


Hello all,
I am trying to insert the contents of a binary file into a blob data
type using simple insert statement and the load_file(filename)
function. 

Initially, the function was returning a NULL value. But eventually, I
changed the 'File_priv' in the user table of mysql database to 'Y'. Now
I am getting a new error... the Errcode : 13  and  a message which
says..
can't find stat file '/directory/file_name'

I am using RH 7.1, and 3.23.36 version of mysql. I am running the
server on this machine itself and I am the only user. All suggestions
are welcome. I must solve this problem.

regards
venu

=====
============================================================
Venugopal Allavatam                 Ph: (res.): 949-361-6604
1100 Calle Del Cerro,                 (mobile): 949-842-1767
Apt.# 123-J,              
San Clemente, CA-92672          E-mail: [EMAIL PROTECTED]
                                     [EMAIL PROTECTED]
============================================================

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

The information contained in this email is privileged and confidential
and intended for the addressee only. If you are not the intended 
recipient, you are asked to respect that confidentiality and not 
disclose, copy or make use of its contents. If received in error 
you are asked to destroy this email and contact the sender immediately. 
Your assistance is appreciated.

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to