Not sure what's causing it, but I am unable to insert images into my BLOB/LONGBLOB column in MySQL.
I'm using the correct syntax:
update gift
set gift_picture = LOAD_FILE('/Users/omarebrahim/Pictures/randoms/shoe3.jpg')
where gift_id = 1;
I'm getting 0 rows affected, Rows matched: 1, Changed: 0, Warnings: 0
.
The column is a LONGBLOB and the table storage engine is MyISAM.