Skip to Content.
Sympa Menu

freetds - Re: [freetds] Newbie php_dblib.dll

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Newbie php_dblib.dll
  • Date: Sat, 29 Nov 2008 21:12:35 -0500

gary AT idistech.demon.co.uk wrote:
> net.c:796:tds7_get_instance_port(127.0.0.1, SUGARCRMMSSQL)
...
> net.c:917:instance port is 1751
> net.c:187:Connecting to 127.0.0.1 port 1751 (TDS version 7.0)
> net.c:241:tds_open_socket: connect(2) returned "Unknown error"

It appears the server is not listening on the loopback address at that
port for TCP connection. (Sadly, Windows seems not so set the error code
such that strerror(3) can interpret it.) Perhaps:

1. the server is not listening on that interface, or
2. it's not accepting tcp/ip connections (named pipe only)

> TDS reports version 0.63,
> Do I / should i try and move to a later release

Later releases are better, but I can't point you to a DLL.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page