PythonWin ODBC: DSN-less connecting string

Jimmy Retzlaff jimmy at retzlaff.com
Fri Jul 26 19:49:11 EDT 2002


Gabe Newcomb [mailto:Gabe.Newcomb at noetix.com] wrote:

> I'm unable to find the right combination of options to build a
DSN-less
> connection string with which I can connect to a database using the
odbc
> module. Has anybody out there found the right way to do this?

The current odbc module in win32all doesn't support DSN-less
connections. A while back I submitted a patch to Mark Hammond to add
support for this - hopefully it'll make it into the next release of
win32all.

In the meantime I'd be happy to send a copy of my patched odbc.pyd
compiled for Python 2.2/2.2.1, or I can also send odbc.cpp if you'd like
to compile it yourself for another version of Python.

Jimmy




More information about the Python-list mailing list