[unixODBC-support] unixodbc on osx

Joshua Shaffner joshua.shaffner at gmail.com
Tue Oct 5 06:55:25 BST 2010


Must it show yes for unixodbc?

joshua$ tsql -C
Compile-time settings (established with the "configure" script)
                            Version: freetds v0.82
             freetds.conf directory: /usr/local/Cellar/freetds/0.82/etc
     MS db-lib source compatibility: yes
        Sybase binary compatibility: no
                      Thread safety: yes
                      iconv library: yes
                        TDS version: 7.0
                              iODBC: yes
                           unixodbc: no



On Mon, Oct 4, 2010 at 6:19 PM, Nick Gorham <nick at lurcher.org> wrote:
>  On 04/10/2010 22:32, Joshua Shaffner wrote:
>>
>> tsql works okay.
>>
>> isql does not work.
>>
>> I have burned a full day trying to get isql to work just so that I can
>> use apps on top of unixodbc. Yes, I did google but to no luck. :(
>>
>> cheers, joshua
>>
>> $ isql -v TEST user pwd
>> [S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
>> [ISQL]ERROR: Could not SQLConnect
>
> Hi
>
> from that error, unixODBC is working, its loading the driver (you can see
> that as the error is from the driver entry in the message). I thin normally
> freeTDS problems like this are down to the ini file and freetds file setup.
> the FreeTDS folk are the ones to ask now.
>>
>> $ cat freetds.conf
>> [global
>>   host = 10.0.1.12
>>   port = 4321
>>   tds version = 7.0
>>   text size = 262144
>>   client charset = UTF-8]
>
> Is that closing bracket meant to be there?
>
> --
> Nick
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>


More information about the unixODBC-support mailing list