Skip to Content.
Sympa Menu

freetds - Re: [freetds] Using freetds in Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: a_wake AT earthlink.net, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Using freetds in Windows
  • Date: Fri, 1 Jan 2010 17:42:52 -0500

> On Thu, 2009-12-31 at 06:30 -0500, Paul Thurston wrote:
> > On Windows, if your using v0.82, you'll need to set the environment
> > variable FREETDSCONF to point to your freetds.conf file.
> >
> > Also, remember to escape the file path sequence as follows: SET
> > FREETDSCONF=C:\\Apps\\FreeTDS\\etc\\freetds.conf
> >
> > In the freetds.con file itself, make sure that line host=<Address> is
> > a valid IP address to the database server.
> >
> Andrew H. Wakefield wrote:
> Paul, many thanks -- that took care of the problem with tsql. Now I just
> need to figure out what my program is doing differently from tsql, and
> maybe I'll finally get this show on the road ...

Andrew, remember TDSDUMPCONFIG will show where config.c is looking for
your freetds.conf, and the final communication parameters for the
connection.

The sample programs and unit tests may serve as examples for your own
application.

HTH.

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page