> I am getting this error with a new install of PHP4.2.1 and Zend 
> Optimizer 1.3.1:
> The file '/tmp/phpr4WYQY' must be in the database directory or be 
> readable by all
> I just updated PHP and the Zend Optimizer, and it had worked previously 
> with PHP4.1.2,
> Any ideas??

Because you are asking on the db list, I'll guess that you are trying to 
use LOAD DATA INFILE? The file you are trying to load needs to be world 
readable if it isn't in the database directory.

If this isn't the problem, can you be a bit more specific about the 
circumstances in which this error appears?

David Robley
Temporary Kiwi!

Quod subigo farinam

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to