Storing a JPEG in MySQL-Database

Gerhard Häring gh at ghaering.de
Sat May 10 14:31:18 EDT 2003


T. Kaufmann wrote:
> Hi,
> 
> I have to store some *.JPEGS in the MySQL-Database.
> How it's done?

Use a BLOB datatype, then use MySQLdb as a database adapter to store the 
  images in the db.

-- Gerhard





More information about the Python-list mailing list