0
If I want to insert an image in the database just use the following query:
INSERT INTO teste (Id_Blob,Na_Imagem) VALUES (1,LOAD_FILE("C://imagem.png"));
if I want to insert an image that be on another computer on the network, how does it vary? I am trying to use the following code.
INSERT INTO teste (Id_Blob,Na_Imagem) VALUES (1,LOAD_FILE("///10.1.1.10//Fotos//2.png"));
But the field of the image longblob empty.