Unexpected EOF from the server.
来源:互联网 发布:越南窄轨铁路知乎 编辑:程序博客网 时间:2024/05/22 14:40
被一个问题烦了好多天,终于TMD找到了解决办法,FUCK
在linux下安装unixodbc和freetds,实现在linux下访问ms-sqlserver的功能。
添加了许多环境变量之后,isql和tsql都可以正常使用。
但是调用SQLDriverConnect()函数却一直错误:
[unixODBC][FreeTDS][SQL Server]Unable to connect to data source.
[unixODBC][FreeTDS][SQL Server]Adaptive Server connection failed.
[unixODBC][FreeTDS][SQL Server]Unexpected EOF from the server.
[unixODBC][FreeTDS][SQL Server]Adaptive Server connection failed.
[unixODBC][FreeTDS][SQL Server]Unexpected EOF from the server.
最后在stackoverflow上看到一个回答:试试添加一个环境变量TDSVER=8.0
试了下,能行!
终于搞定了,原来就这么简单,草!
- Unexpected EOF from the server.
- ftpget错误unexpected server response: EOF
- keystone -- An unexpected error prevented the server from fulfilling your request. 错误
- An unexpected error prevented the server from fulfilling your request. (HTTP 500)
- https使用HttpWebRequest出现错误:System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.的解决方法
- read: unexpected EOF
- Unexpected 500 Internal Server Error from Bookie Rest Service
- java微信退款unexpected end of file from server
- SocketException: Unexpected end of file from server 问题解决
- java.net.SocketException: Unexpected end of file from server
- java.net.SocketException: Unexpected end of file from server
- SyntaxError: unexpected EOF while parsing
- Kernel Configuration: dealing with the unexpected (zz from Linux magazine)
- The remote server returned an unexpected response: (404) Not Found
- : gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive
- unexpected EOF while looking for matching ``'
- Python错误SyntaxError: unexpected EOF while parsing
- Restarting the web server from your program
- 如果对未来迷茫的时候,请打开这个锦 囊
- 17个常见Python运行时错误
- 高效程序员的 7 个共同特征
- PB DataWindow 38个技巧
- waitpid与status
- Unexpected EOF from the server.
- 日期选择组件 Mobi Pick
- Java 线程池学习
- googlemap加载多个overlay内存溢出
- js将表格数据转换成json
- eclipse连接mysql插入中文乱码解决办法
- C# 托盘图标. notifyIcon 用法
- struct in_addr,struct sockaddr与struct sockaddr_in的区别和联系
- Android常用代码