#tar zxvf freetds-stable.tgz
#cd freetds-0.91/
# ./configure --prefix=/usr/local/freetds0.91 --enable-msdblib --with-tdsver=8.0 //目前最高好像只支持到7.1,但可写到8.0,可用 configure--help 查看
#make &&make install
#vi /usr/local/freetds0.91/etc/freetds.conf
host = mssql.yourdomain.com
port = 1433
tds version = 8.0
client charset = UTF-8