Create a BLOB column in the database table,
possibly average.
but itβs good to save the photo in a directory and save the path in the database. Greetings
CREATE TABLE tblname(ID INT,IMAGE BLOB); INSERT INTO tblname(ID,IMAGE) VALUES(1,LOAD_FILE('C:/test.txt'));
added an answer from the comments on this question in the answer box.
source share