Zweite Variante nur über
sql
--------------------------------------------------------------------------------
update tabelle
set img=LOAD_FILE("c:/bilder/bild1.jpg")
where id=1
--------------------------------------------------------------------------------
insert into tabelle (img) values(LOAD_FILE("c:/bilder/bild1.jpg"))
--------------------------------------------------------------------------------
select img INTO DUMPFILE "c:/bilder/bild1.jpg" from tabelle
where id=1
gruß