mxODBC attribute error with MySQL

Keith MacDonald keith at nojunk.textpad.com
Sun Nov 5 10:06:29 EST 2000


I'm trying to use mxODBC 1.1.1 with MySQL and ActivePython 2.  The only
example I can find to get me started is in the mxODBC documentation, but
this is what I get when I try it:

>>> import ODBC.MySQL
>>> db = ODBC.MySQL.Connect('database','user','passwd')
AttributeError: Connect

(same error using "connect" as well)

This is kind of unhelpful, as it gives me no idea what is wrong.  Can anyone
help me with this?

Thanks,
Keith MacDonald






More information about the Python-list mailing list