1、安装freetds

wget http://mirrors.ibiblio.org/freetds/stable/freetds-stable.tgz

tar xvzf freetds-stable.tgz 

cd freetds-0.91/

./configure --prefix=/usr/local/freetds --with-unixodbc=/usr/local/unixODBC --with-tdsver=8.0

make && make install

linux freetds操作mssql

 

2、安装unixodbc

wget http://nchc.dl.sourceforge.net/project/unixodbc/unixODBC/2.3.4/unixODBC-2.3.4.tar.gz

tar xvzf unixODBC-2.3.4.tar.gz 

cd unixODBC-2.3.4

mkdir /usr/local/unixODBC

./configure --prefix=/usr/local/unixODBC

make && make install

 

 参考:

http://waringid.blog.51cto.com/65148/1268454

http://penghb.blog.51cto.com/206943/1559643

http://jingpin.jikexueyuan.com/article/44014.html

http://help.interfaceware.com/kb/904

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-03
  • 2021-09-22
  • 2022-12-23
  • 2021-06-01
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案