[freetds] Fb6 connect fail when phpinfo show mssql is ok.

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Tue Mar 27 03:53:41 EST 2007


> 
> i use freebsd6,,and i config mssql support by using php5-extensions
> 
> phpinfo say mssql support is ok...but i can't connect(i use tsql)
> 
> command : tsql -H 192.168.7.12 -p 1433 -U user -P user
> 
> i m sure ip, port, username and password is right.
> 
> Anyone know?
> 
> 
> -- 
> regards
> jl
> 
> 

Hi,
  try to telnet to your ip/port, if this work you should see an error from tsql. Try to force also tds version using TDSVER like

TDSVER=7.0 tsql ....

freddy77



More information about the FreeTDS mailing list