Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: lisa yang <yang_wayne AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] bypass freetds.conf, tsql works, freetds.conf and php doesn't work
  • Date: Wed, 13 Jul 2005 11:18:27 -0700 (PDT)

I have the similiar problem as this one:
https://lists.ibiblio.org/sympa/arc/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




Archive powered by MHonArc 2.6.24.

Top of Page