views:

629

answers:

1

Hi All,

I want to insert an img file in mysql database, can anyone provide normal insert statement for inserting blob into mysql database. How i can do it as if i specify the path it stores the path only not the img

+1  A: 

Try the LOAD_FILE() function.

Bill Karwin
Thank you. It works
MySQL DBA