Skip to Content.
Sympa Menu

freetds - Re: [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: Re: [freetds] Struggling to connect to Sybase
  • Date: Thu, 20 Jan 2011 14:38:07 +0700

Hi there

I can now successfully connect using:
$ isql -v FinanceDB user pass

I've fixed up the Driver configuration as freddy77 pointed out.
I've also turned on debugging by adding a section to odbcinst.ini:

"""
[ODBC]
TraceFile=/.../sql.log
Trace=Yes
"""

However if I don't specify the credentials on the commandline, it fails.

The log shows:

"""
Entry:
Connection = 0x8070130
Server Name = [FinanceDB][length = 9
(SQL_NTS)]
User Name = [NULL]
Authentication = [NULL]
"""

The credentials are in the config file:

> pims@dweb66:~$ cat odbc.ini
> [FinanceDB]
[...]
> User=user
> Password=pass

Am I using the right keys?

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




Archive powered by MHonArc 2.6.24.

Top of Page