Storing files in a BLOB field via SQL

Martin Bless m.bless at
Tue Jul 6 13:23:15 CEST 2004

[J.Gerner at (Juergen Gerner)]

>I want to store files in a database using BLOB
>Does anybody of you have an idea?

Maybe its a version issue. I recently grabbed the new version 1.0.0 of
MySQLdb. In the readme.html of the Win binary package you will find
this note:

MySQL-Python 1.0.0 for win32 Notes:
June 28 2004
I needed to get mysql-python working for win32, so I compiled it. I
know a lot of people are looking for this, so enjoy... With 0.9.2,
BLOBs weren't working properly for me, ...

Skimming over the docs I noticed that the Python API converts BLOBs to
array. Don't know if this hint is of significance in your case.

Hope it helps,

More information about the Python-list mailing list