用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>
freetds链接错误
时间: 2024-10-18 22:03:27