2013-12-20 54 views
1

我在我的Linux機器freetds的版本並沒有改變,而文件被更改

有freetds的安裝,當我在我的/ etc使用TSQL -C

Compile-time settings (established with the "configure" script) 
          Version: freetds v0.91 
      freetds.conf directory: /etc 
    MS db-lib source compatibility: yes 
     Sybase binary compatibility: yes 
         Thread safety: yes 
         iconv library: yes 
         TDS version: 4.2 
           iODBC: no 
          unixodbc: yes 
       SSPI "trusted" logins: no 
          Kerberos: yes 

但是檢查TDS版本/ freetds.conf我已經設置了TDS版本8.0

[global] 
     # TDS protocol version 
#  tds version = 8.0 

     # 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 
     tds version = 8.0 
     port = 1433 
     client charset = UTF-8 
     debug flags = 0x4fff 
     timeout = 180 
     connect timeout = 180 
     text size = 20971520 

我真的需要它被設置爲8.0,因爲我同時從Linux終點 「的Unico運行我的SQL查詢面臨這個問題使用DB-Library不能將數據發送給使用DB-Library的客戶端「 而我認爲唯一修復方法之一是將tds版本標記爲8.0,並將字符集標記爲UTF-8

回答

相關問題