Read picture dir and store pics to Mysql

Good day to you all,
I was looking into makeing a database of all my image and I was wondering if there is a way to read a recursive directory and store it into the database.

I don’t have a clue on how, even if I have search the web for a while.

Thanks, take care and have a good one !

ok, that make sense, I’m new to DB.

Is there a way that I can do this ?

Just out of curiosity…why not simply read the directory and store the image location in the database (rather then the image), and then simply call the image my retrieving the location from the database?

Essentially storing images in the database will have scaling problems later on.