[freetds] Location of freetds.conf

Daniel Fazekas fdsubs at t-online.hu
Thu Jan 14 10:52:13 EST 2010


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.




More information about the FreeTDS mailing list