Re: Location of freetds.conf

Daniel Fazekas <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Jan 14, 2010, at 15:58, Luis de Vasconcelos wrote:

> Recently somebody asked if the FreeTDS configuration file, freetds.conf, MUST be stored in the C:\ drive. Apparently this requirement is hard-coded into FreeTDS. Is this correct? 

No.

> Or is it possible to put the .conf file somewhere else on the server? If so, how does FreeTDS know where to find it?

You could set the FREETDS environment variable to point to the new location and file name of the config file.
http://www.freetds.org/userguide/envvar.htm

Or you can recompile FreeTDS and change the default location compile time.
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.