[python-sybase] Connecting to a non-local server
David Casti
david at neosynapse.net
Wed, 05 Mar 2003 16:12:41 -0500
Hello,
I have been using the sybase module to connect to my local Sybase server for
a few weeks. Now I am trying to use it to connect to a non-local server on
port 3105.
I thought the correct call was something like --
d = Sybase.connect( 'hosttname:3105', user='user', passwd='pass',
database='dbname' )
-- but after many different attempts at that command, I keep getting the
error --
Sybase.DatabaseError: Layer: 6, Origin: 8
ct_connect(): directory service layer: internal directory control layer
error: There was an error encountered while binding to the directory
service.
-- Can anyone advise me on how to overcome this problem?
Thanks,
David.