I used the following code for uploading an image file into my database from an answer in stack overflow, but it is not getting updated. Please help.
mysql> update S516 set photo = LOAD_FILE('/home/rsreekumar/db/java16/photos/13134.PNG') where roll_no = "AM.EN.U4CSE13134";
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1 Changed: 0 Warnings: 0
My question is same. but not working.