Skip to Content.
Sympa Menu

freetds - RE: unixODBC woes

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: unixODBC woes
  • Date: Thu, 5 Sep 2002 10:49:17 -0400


> From: Leon Brooks [mailto:leon AT cclinic.com.au]
> Sent: September 5, 2002 10:37 AM
> > $<freetds>/interfaces :
>
> > MY_SERVER
> > query tli tcp /dev/tcp \x000207760b9f343250000000000000000
>
> I don't have one of these. Does it go in the --prefix
> directory (/usr in my
> case) or the --sysconfdir directory (/etc)? What is the magic
> hex number for?

That is the weirdest interfaces line I have ever seen. What the heck is it
trying to say?

http://www.freetds.org/userguide/x2192.htm

> > The <freetds>/interfaces file and the <freetds>/etc/freetds.conf are
> > alternatives in freetds.
>
> Meaning that I only need one of them?

Yes. FreeTDS searches your conf files, looking for a section matching the
servername you requested, in the following order:

# 1) check if a file was set programatically via dbsetifile() and
# is in .conf format, if so use that,
#
# 2) otherwise, if env variable FREETDSCONF specifies a properly
# formatted config file, use it,
#
# 3) otherwise, look in ~/.freetds.conf,
#
# 4) otherwise, look in @sysconfdir@/freetds.conf

Only after exhausting those possibilities does it revert to interfaces.

--jkl


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 for certain accounts we do not accept
orders and/or instructions by e-mail, and for those accounts we will not be
responsible for carrying out such orders and/or instructions. Kindly refrain
from sending orders or instructions by e-mail unless you have confirmed that
we accept such communications for your account. Please also note that to
satisfy regulatory requirements we review the outgoing and incoming e-mail
correspondence of staff members serving certain functions.






Archive powered by MHonArc 2.6.24.

Top of Page