求大神解答啊,连了很长时间了。python 连接sql server 时连接错误
Traceback(mostrecentcalllast):File"D:/Python27/goon.py",line2,in<module>conn=pymssql....
Traceback (most recent call last):
File "D:/Python27/goon.py", line 2, in <module>
conn=pymssql.connect(host=".",user="sa",password="123456",database="xuxy")
File "pymssql.pyx", line 636, in pymssql.connect (pymssql.c:10178)
OperationalError: (20009, 'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist\nNet-Lib error during Unknown error (10035)\n') 展开
File "D:/Python27/goon.py", line 2, in <module>
conn=pymssql.connect(host=".",user="sa",password="123456",database="xuxy")
File "pymssql.pyx", line 636, in pymssql.connect (pymssql.c:10178)
OperationalError: (20009, 'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist\nNet-Lib error during Unknown error (10035)\n') 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询