[freetds] mssql_connect : Unable to connect to server
Pedro Barbosa
pbarbosa at inescporto.pt
Fri Nov 4 10:06:02 EST 2005
I was just looking to the logs and i found out that appens an error
declared in apache log:
src/tds/*login**.**c*: *tds_connect*: xx.xx.x.xx:144
I saw some threads when searching it at google, but sadly none add the
anwser
if this helped and someone knows i can i solve this i would be apreciated.
thanks
Pedro Barbosa
Pedro Barbosa wrote:
>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
>*
>*
>_______________________________________________
>FreeTDS mailing list
>FreeTDS at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/freetds
>
>
>
More information about the FreeTDS
mailing list