[Zope-DB] Python, MySQLdb, and dates

Kent Hoxsey khoxsey at earthlink.net
Thu May 13 11:13:40 EDT 2004


Wondering if anyone has any suggestions for a problem I'm experiencing.

I'm using Python and MySQLdb to talk to a local MySQL database, but for
some reason any time I try to query dates the values come back as None.

My setup:
  - python 2.3.3
  - mysql 4.0.15a
  - MySQLdb 0.9.2

The really strange thing is that when I access the same tables from Zope
using the ZMySQLDA, the date values come through fine. Anybody have
an idea of what Zope is doing that I'm not?

TIA.
Kent





More information about the Zope-DB mailing list