Skip to Content.
Sympa Menu

freetds - Re: [freetds] mssql_connect : Unable to connect to server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Pedro Barbosa <pbarbosa AT inescporto.pt>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] mssql_connect : Unable to connect to server
  • Date: Fri, 04 Nov 2005 15:06:02 +0000

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







Archive powered by MHonArc 2.6.24.

Top of Page