Skip to Content.
Sympa Menu

freetds - RE: [freetds] Can connect with TDS, but not ODBC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Can connect with TDS, but not ODBC
  • Date: Tue, 2 Mar 2004 12:56:14 -0500

> From: Casey Allen Shobe [mailto:cshobe AT osss.net]
> Sent: March 2, 2004 12:24 PM
>
> I've been testing everything anew, using a Redhat 7.3 server with
> unixODBC installed from an RPM, and freeTDS installed from an
> SRPM (the
> binary version on freetds.org requires too new of a libc).
...
> I'm following the ODBC-only configuration suggestion on
> freetds.org to a tee, and it's simply not working.

Hi Casey,

unixODBC and FreeTDS are both installed in /usr/lib, yes?

What shows up in the TDSDUMP log?

Your odbc.ini looks OK to me. What's in odbcinst.ini?

--jkl


>
> Here is my odbc.ini:
>
> [ODBC Data Sources]
> adreportdb = AirDefense Reporting Database
>
> [adreportdb]
> Driver = /usr/lib/libtdsodbc.so
> Description = AirDefense Reporting Database
> Trace = No
> Server = 172.16.0.216
> Database = adreportdb
> Port = 1433
> TDS_Version = 8.0
>
> [Default]
> Driver = /usr/lib/libtdsodbc.so
>
> tsql -H 172.16.0.216 -p 1433 -U sa
> ...works, and I can execute a query.
>
> isql adreportdb sa
> ...gives:
> [ISQL]ERROR: Could not SQLConnect
>
> What can I try? Sorry to pester, but I really need to get
> this problem
> worked out.
>
> Thanks in advance,
>
> --
> Casey Allen Shobe
> cshobe AT osss.net
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as the intended recipient of this message, the purpose of which is to
inform and update our clients, prospects and consultants of developments
relating to our services and products, would not like to receive further
e-mail correspondence from the sender, please "reply" to the sender
indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.






Archive powered by MHonArc 2.6.24.

Top of Page