Need Help with pymssql

From: Khawaja Shahzad Sadiq *** (khawaja_shahzads_at_hotmail.com)
Date: 03/31/04


Date: Wed, 31 Mar 2004 10:37:05 -0500
To: python-list@python.org

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/


Quantcast