首页 > 代码库 > freetds链接错误
freetds链接错误
用tsql连接mssql出现下面的错误
tsql -H 192.168.1.100 -p 1433 -U sa
Password: sa
locale is "en_US.UTF-8"
locale charset is "UTF-8"
using default charset "UTF-8"
Error 20017 (severity 9):
Unexpected EOF from the server
OS error 115, "Operation now in progress" Error 20002 (severity 9):
Adaptive Server connection failed There was a problem connecting to the server
于是执行tsql -C发现freetds的版本是5.0,考虑到可能是freetds版本的问题,于是指定freetds版本为7.0,执行如下
sh-3.2# TDSVER=7.0 tsql -H 192.168.1.100 -p 1433 -U sa TDSVER=7.0
tsql -H 192.168.1.100 -p 1433 -U sa Password: sa
locale is "en_US.UTF-8"
locale charset is "UTF-8"
using default charset "UTF-8"
1>
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。