Cannot access MSSQL db
David Nordenberg
dnordenberg at users.sourceforge.net
Mon Apr 8 06:39:22 EDT 2002
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?
More information about the FreeTDS
mailing list