[freetds] bypass freetds.conf, tsql works, freetds.conf and php doesn't work

lisa yang yang_wayne at yahoo.com
Wed Jul 13 14:18:27 EDT 2005


I have the similiar problem as this one:
http://lists.ibiblio.org/pipermail/freetds/2004q1/015247.html
 
I am new to freeTDS. 
Apache - httpd-2.0.50:
> > PHP-4.3.7:
> > The MsSQL server uses port 1433 

 

if bypass freetds.conf, tds works, 

but tsql -S mydomain -U MyAccount doesn't work, php code doesn't work.

if I type: export TDSVER=8.0 and export TDSPORT=1533.

then tsql -S mydomain -U MyAccount ---works.

I have modified freetds.conf as

[global]

tds version = 8.0

initial block dates = 512

swap broken dates = no

swap broken money = no

try server login = yes

try domain login = no

[myserver]

host = ntmachine.domain.com

port=1433

tds version = 8.0

 

Please help

Lisa


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the FreeTDS mailing list