Skip to Content.
Sympa Menu

freetds - Re: Cannot access MSSQL db

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "David Nordenberg" <dnordenberg AT users.sourceforge.net>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: Cannot access MSSQL db
  • Date: Mon, 8 Apr 2002 05:39:22 -0400


How do I use TDSDUMP?

[dna_sql7]
host = dna.utb.net
port = 1433
tds version = 7.0

bash-2.05$ ./sqsh -H dna_sql7
sqsh-2.1 Copyright (C) 1995-2001 Scott C. Gray
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
Password:
src/tds/login.c: tds_connect: 212.181.91.6:4000: Connection refused

Packets are going out to 212.181.91.6:4000
I start to wonder if it ever reads my freetds.conf in /etc as I described
with ./configure --with-sysconfdir=/etc
I only want the static freetds lib to be used at compile time of PHP and I
don't need it any more after that so I don't which to install anything
else on my system then the config files.
If you look here you see my whole configuration script for PHP and
freetds:
ftp://kyit.dhs.org/linux/slackware/mod_php-4.1.2/source/SlackBuild
It shows exactly how I compiled everything.

Ah, strace output:
open("/tmp/freetds/install/etc/locales.conf", O_RDONLY) = 4
open("/tmp/freetds/install/etc/freetds.conf", O_RDONLY) = 4
ASARG :( Doesn't configure care about --with-sysconfdir? How should I make
the program look for config files in /etc other then using sysconfdir?




Archive powered by MHonArc 2.6.24.

Top of Page