Question

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

Was it helpful?

Solution

Try the LOAD_FILE() function.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top