When I run this query it only inserts NULL
into the image
column:
insert into imgblob('image') values(LOAD_FILE("C:\Users\Desktop\apple.png"));
When I run this query it only inserts NULL
into the image
column:
insert into imgblob('image') values(LOAD_FILE("C:\Users\Desktop\apple.png"));
Try LOAD_FILE('C:/Users/Desktop/apple.png') i.e "/" instead of "\" check this stackoverflow answer