By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,442 Members | 1,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,442 IT Pros & Developers. It's quick & easy.

Need Help with pymssql

P: n/a
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&...ave/direct/01/
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.