[freetds] [unixODBC][FreeTDS][SQL Server]Unable to connect: Adaptive Server is unavailable

Lukasz Szybalski szybalski at gmail.com
Tue Apr 7 16:55:54 EDT 2009


Hello,
I've upgraded to new version of debian but I'm getting this error when
trying to connect to mssql

import pyodbc
 pyodbc.connect('DRIVER={TDS};Server=servername;Database=dbname;UID=user;PWD=pass;port=123;')

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
pyodbc.Error: ('08S01', '[08S01] [unixODBC][FreeTDS][SQL Server]Unable
to connect: Adaptive Server is unavailable or does not exist (20009)
(SQLDriverConnectW)')

Any idea what is going on?

Thanks,
Lucas



More information about the FreeTDS mailing list