[freetds] Using freetds in Windows

James K. Lowden jklowden at freetds.org
Fri Jan 1 17:42:52 EST 2010

> 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

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



More information about the FreeTDS mailing list