[python-sybase] connection exception
David Bear
David.Bear at asu.edu
Wed Mar 22 12:56:03 EST 2006
I am using freetds instead of sybase to connect to our sybase server.
==========
d = Sybase.connect('ASU_DATA_WAREHOUSE', 'user', 'pw')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib64/python2.4/site-packages/Sybase.py", line 1005, in
connect
strip, auto_commit, delay_connect, locking)
File "/usr/lib64/python2.4/site-packages/Sybase.py", line 867, in
__init__
self.connect()
File "/usr/lib64/python2.4/site-packages/Sybase.py", line 886, in
connect
status = conn.ct_connect(self.dsn)
File "/usr/lib64/python2.4/site-packages/Sybase.py", line 200, in
_servermsg_cb
raise DatabaseError(_fmt_server(msg))
Sybase.DatabaseError: Msg 4294973000, Level 10, State 1
Changed client character set setting to 'iso_1'.
Msg 8589940293, Level 10, State 2
Changed database context to 'DICTIONARY'.
===============
the connection object never gets made. Can anyone shed light on what
this error means? I am able to connect using freetds tsql command.
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"
More information about the Python-sybase
mailing list