[Zope-DB] BLOB in MySQL/Zope with MySQLdb ?

Joel Burton joel@joelburton.com
Wed, 20 Mar 2002 10:38:09 -0500


> -----Original Message-----
> From: zope-db-admin@zope.org [mailto:zope-db-admin@zope.org]On Behalf Of
> Andreas Jung
> Sent: Tuesday, March 19, 2002 8:38 PM
> To: zope-db@zope.org
> Subject: [Zope-DB] BLOB in MySQL/Zope with MySQLdb ?
>
>
> Is it possible to store data into BLOB columns in MySQL
> using MySQLdb and MySQLDA ?

Andreas --

Works for me; I've stored PNG images in a BLOB and later used them to create
Zope Image objs.
Just use type=string in your <dtml-sqlvar>.

HTH.


Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant