[freetds] mssql_connect : Unable to connect to server

Pedro Barbosa pbarbosa at inescporto.pt
Fri Nov 4 06:03:24 EST 2005


Hi!

I've installed freetds and ran ./tsql -S server  -U user -P pass and 
everything works fine. i can usedatabase's and do select on every table.

But when it comes to using the function mssql_connect on php it gives me 
the following error:
    *Warning*: mssql_connect() [function.mssql-connect]: Unable to 
connect to server: server  in */var/www/html/bd.php* on line *9

*I 've followed all instructions , compiled php with the option 
--with-mssql=/usr/local/freetds.

Is there anytinhg to be changed in php.ini? or is something else?

thanks
Pedro Barbosa
*
*


More information about the FreeTDS mailing list