If I want to insert an image into 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 is on another computer on the network, how does this vary? I'm 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 longblob image field is empty.