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
在线等待。。。
本人已经解决,但是问题不能关闭,真郁闷 展开
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
在线等待。。。
本人已经解决,但是问题不能关闭,真郁闷 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询