Getting error while inserting blob datatype value into mysql table
问题 I am trying to enter data into mysql table Fruitbox .But while entering data I am getting error Fruitpdf cannot be null . I created fruitbox table as follows: Fruitname(varchar(100), Fruitpdf(blob), Fruitprice(int) Fruitpdf column contains pdf files of fruit. My file mango.pdf in desktop is size of 190 KB. I wrote following query but getting error " Fruitpdf cannot be null " while executing sql statement. INSERT INTO Fruitbox (Fruitname, Fruitpdf, Fruitprice) VALUES ('Mango', LOAD_FILE('C: