How to access ODBC databases ?

Martin P. Hellwig martin.hellwig at dcuktec.org
Fri Sep 4 11:32:44 EDT 2009


Timothy Madden wrote:
<cut>
>  >>> conn = pyodbc.connect('DRIVER={PostgreSQL 
> Unicode};Servername=127.0.0.1;UID=pikantBlue;Database=pikantBlue')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>

> pyodbc.Error: ('0', '[0] [nxDC (202) (SQLDriverConnectW)')

Not sure (i.e. wild guess) but that line makes me think it has something 
to do with the encoding, is it possible to try a different driver?

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list