How store image in mysql

admin

Administrator
Staff member
I am experiencing difficulties in inserting a image file into a mysql table. I have created a table use BLOB type for image file. I use

mysql> INSERT INTO table_name VALUES( LOAD_FILE("/temp/picture"));

try to save image file in database. But I can't save image in. It always show NULL for me.

How can I do with it?

Fanny
 
Back
Top