[DB-SIG] Accessing MSSQL from Python
Marcos Sánchez Provencio
msanchez@grupoburke.com
03 Sep 2002 15:43:21 +0200
Now I have applied it, but I have not seen much difference. What is it
that it corrects?
What I see is that if I don't give correct information, I get fatal
errors.
>>> c=Sybase.connect('sake','sa','')
src/tds/login.c: tds_connect: 192.168.222.5:1433: Connection refused
Violación de segmento
marcos@sake:~$
[I don't have an SQL Server in sake]
>>> import Sybase
>>> c=Sybase.connect('xerry','ss','')
Violación de segmento
[there _is_ a server in xerry, but no such user]
>>> import Sybase
>>> c=Sybase.connect('xerry','sa','')
>>> del c
>>>
[all fine]
¿How can I get debugging info?
El mar, 03-09-2002 a las 13:48, Kevin Jacobs escribió:
> On 3 Sep 2002, Marcos Sánchez Provencio wrote:
> > Not very brilliant, really.
>
> I'm assuming that you left out a few steps, like maybe installing the pat=
ch
> that I sent? As far as I know, both MS SQL 7.0 and 2000 require it.
>
> -Kevin
>
> --
> Kevin Jacobs
> The OPAL Group - Enterprise Systems Architect
> Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com
> Fax: (216) 986-0714 WWW: http://www.theopalgroup.com