Strange response to MySQL query

From: Date: Tue, 14 Feb 2006 17:50:22 +0000
Subject: Strange response to MySQL query
Groups: php.general 
Request: Send a blank email to php-general+get-230379@lists.php.net to get a copy of this message
Hi gang: I'm trying to dump a BLOB into a file for subsequent processing. To do this I'm using the query statements: $dbQuery = "SELECT image "; $dbQuery .= "FROM flowers "; $dbQuery .= "WHERE image_Id=$pic_id "; $dbQuery .= "INTO DUMPFILE '/tmp/test.jpg' "; But, it generates an "Access denied.." error. However, if I comment-out the last line, namely "INTO DUMPFILE" statement, then the code accesses the dB (i.e., no access problems). In thinking it might be permission related, I set permissions for the tmp folder and file to 777, but that didn't help. Any ideas? I've busted my head on this for several hours now. Thanks for any help. tedd -- -------------------------------------------------------------------------------- http://sperling.com/

« previous php.general (#230379) next »