Need Help with pymssql

Khawaja Shahzad Sadiq Butt khawaja_shahzads at
Wed Mar 31 17:37:05 CEST 2004

     I am trying to connect to sql server 2000 on win xp. I am using a 
python extension called. pymssql but it is giving me this errror:

Traceback (most recent call last):
line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\syndication\", line 3, in ?
    con = pymssql.connect(host='abc',user='ag',password='ag',database='agl')
  File "C:\Python22\Lib\site-packages\", line 277, in connect
    con = _mssql.connect(dbhost, dbuser, dbpasswd,dbport)
error: Can't Connecting MSSQL Server

Everything like server username and password are correct. can someone help 
me . There is almost no help available on sourceforge for this. Any help 
would be appreciated.

Please reply,

Khawaja Shahzad

Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available.

More information about the Python-list mailing list