Skip to Content.
Sympa Menu

freetds - [freetds] Struggling to connect to Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jean Jordaan <jean.jordaan AT gmail.com>
  • To: FreeTDS AT lists.ibiblio.org
  • Subject: [freetds] Struggling to connect to Sybase
  • Date: Wed, 19 Jan 2011 18:24:53 +0700

Hi there

Could anyone possibly give me any insights regarding this?
I'd be very grateful to become unwedged on this issue ..

pims@dweb66:~$ ODBCSYSINI=/home/pims isql -vvv FinanceDB
[IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle on
SQL_HANDLE_HENV failed
[ISQL]ERROR: Could not SQLConnect

I have to specify ODBCSYSINI as I'm not root on this box.

pims@dweb66:~$ cat odbc.ini
[FinanceDB]
Driver=FreeTDS
Description=Finance database
Server=1.2.3.4
Port=3010
Database=report
User=user
Password=pass

pims@dweb66:~$ cat odbcinst.ini
[FreeTDS]
Description=FreeTDS Driver for Sybase and MSSQL
Driver=/usr/lib/libtds.so.5
Setup=/usr/lib/libtdsS.so

This is on a RedHat system.

--
jean                                              . .. .... //\\\oo///\\




Archive powered by MHonArc 2.6.24.

Top of Page