Need Help with pymssql

Khawaja Shahzad Sadiq Butt khawaja_shahzads at hotmail.com
Wed Mar 31 10:37:05 EST 2004


Hi,
     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):
  File 
"C:\Python22\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", 
line 310, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\syndication\db_1.py", line 3, in ?
    con = pymssql.connect(host='abc',user='ag',password='ag',database='agl')
  File "C:\Python22\Lib\site-packages\pymssql.py", 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,
Regards

Khawaja Shahzad

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/





More information about the Python-list mailing list