Hello soumadip,
(Assuming you are using mysql database)
You will able to get it done by moving the image(fileName.jpg) file first in to below folder(in my case) C:\ProgramData\MySQL\MySQL Server 7.2\Uploads and then I executed below command and it works for me,
INSERT INTO Niraj(ID,IMAGE) VALUES(1,LOAD_FILE('C:/ProgramData/MySQL/MySQL Server 7.2/Uploads/fileName.jpg'));
Here assuming the images is on my local computer, in the images folder:
//Create the table
CREATE TABLE images (
picid int NOT NULL AUTO_INCREMENT,
description VARCHAR(40),
image BLOB,
PRIMARY KEY (picid));
// Insert the row
INSERT INTO images VALUES
(NULL,'picture of a frog','c\:images\frog.png');
Hope this helps.
Thank you!!