Re: Using freetds in Windows

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.