archlinux python pymssql 连接sql server 2000 报错 10

cat/root/freetds.loglog.c:190:StartinglogfileforFreeTDS0.82on2010-11-1215:51:54withde... cat /root/freetds.log
log.c:190:Starting log file for FreeTDS 0.82
on 2010-11-12 15:51:54 with debug flags 0x4fff.
iconv.c:363:iconv to convert client-side data to the "ISO-8859-1" character set
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
net.c:210:Connecting to 192.168.2.43 port 1433 (TDS version 8.0)
net.c:264:tds_open_socket: connect(2) returned "Operation now in progress"
net.c:299:getsockopt(2) reported: Connection refused
util.c:334:tdserror(0x8c52a08, 0x8c84088, 20009, 115)
dblib.c:7782:dbperror(0x8c58818, 20009, 115)
dblib.c:7835:20009: "Unable to connect: Adaptive Server is unavailable or does not exist"
dblib.c:7856:"Unable to connect: Adaptive Server is unavailable or does not exist", client returns 2 (INT_CANCEL)
util.c:368:tdserror: client library returned TDS_INT_CANCEL(2)
util.c:389:tdserror: returning TDS_INT_CANCEL(2)
net.c:310:tds_open_socket() failed
dblib.c:1372:dbclose(0x8c58818)
dblib.c:256:dblib_del_connection(0xb6f7cd40, 0x8c84088)
mem.c:563:tds_free_all_results()
dblib.c:303:dblib_release_tds_ctx(1)
dblib.c:5727:dbfreebuf(0x8c58818)
dblib.c:718:dbloginfree(0x8cfc778)
前台报错:
tsql -H192.168.2.43 -Usa -Ptest -p1433
locale is "zh_CN.UTF-8"
locale charset is "UTF-8"
Msg 20009, Level 9, State -1, Server OpenClient, Line -1
Unable to connect: Adaptive Server is unavailable or does not exist
There was a problem connecting to the server

在线等待。。。
本人已经解决,但是问题不能关闭,真郁闷
展开
 我来答
三战丶欢手0j
2019-10-24
知道答主
回答量:3
采纳率:0%
帮助的人:3万
展开全部
楼主怎么解决的,跪求分享,我也遇到这个问题了...
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式