Images in MySQL

Performance-wise it’s probably better to store the file as a file on the drive and only write the filename or filepath and maybe the mime type into the database. But as the others say, BLOB is what you seek.

Leave a Comment