-1

Currently I am working on my python project on face recognition. There for training my database I need to connect my folder of images to MYSQL server but I am new to this. I have created a database but don't know how to create tables that represents my image.

Bohdan
  • 753
  • 1
  • 9
  • 18

1 Answers1

0

I guess your qestion is already answered here on StackOverflow

INSERT INTO xx_BLOB(ID,IMAGE) VALUES(1,LOAD_FILE('E:/Images/jack.jpg'));
Bohdan
  • 753
  • 1
  • 9
  • 18