Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connection Pooling

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connection Pooling
  • Date: Mon, 01 Nov 2004 11:12:47 +0100

On Mon, 2004-11-01 at 10:58, Shaun Craig wrote:
> On Friday 29 October 2004 21:53, Lowden, James K wrote:
> > TDSDUMP
> hi, think i've found out why my app cant find my dataserver names, i turned
> on
> tdsdumpconfig and got the following.
>
> Starting log file for FreeTDS 0.62.1
> on 2004-11-01 09:44:42 with debug level 99.
> 09:44:42.417248 Attempting to read conf files.
> 09:44:42.417724 ...$FREETDSCONF not set. Trying $FREETDS/etc.

> it seems its not picking up my freetdsconf file in /usr/local/etc, how do i
> set it up to read from that file, im sure its something simple like one
> line!
> nearly home and dry now i think!

Normally the default path for freetds.conf should be compiled in to the
binary/libraries. You can override this by setting the FREETDSCONF env.
variable. In your case, that would be
export FREETDSCONF=/usr/local/etc/freetds.conf
and then run your apps/servers.

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html




Archive powered by MHonArc 2.6.24.

Top of Page