1。编译支持freetds
官网:http://www.freetds.org
以下操作以目前的版本0.95.19操作
wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-patched.tar.gz
tar xzvf freetds-patched.tar.gz
cd freetds-0.95.19/
./configure --with-tdsver=7.3 --enable-msdblib --with-gnu-ld --prefix=/usr/local/ --with-openssl
make
make install
修改/usr/local/etc/freetds.conf 类似如下
[global]
# TDS protocol version
tds version = 7.3
# Whether to write a TDSDUMP file for diagnostic purposes
# (setting this to /tmp is insecure on a multi-user system)
; dump file = /tmp/freetds.log
; debug flags = 0xffff
# Command and connection timeouts
; timeout = 10
; connect timeout = 10
# If you get out-of-memory errors, it may mean that your client
# is trying to allocate a huge buffer for a TEXT field.
# Try setting 'text size' to a more reasonable limit
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载