Skip to Content.
Sympa Menu

freetds - Re: [freetds] ip address pointer is null

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] ip address pointer is null
  • Date: Thu, 9 Jan 2003 12:10:24 -0500

On Thu, 9 Jan 2003 13:05:44 +0100, "Fernando Toro" <fernando AT spansurf.net>
wrote:
>
> when i run a simple php script just
> to probe connection it doesn't get connected.
> And i get this in tds.log file:
>
> ip address pointer is NULL

The next line in the log tells you whether the servername was not found or
not specified. If not specified, PHP didn't pass a server name to
FreeTDS. If not found:

1. FreeTDS failed to find the name in freetds.conf or similar, or
2. The server's machine name could not be resolved to an ip address.

You can set TDSDUMPCONFIG to a filename, run your script, and get a very
complete answer about FreeTDS's effort to locate your server.

> So what happens here, its a library problem, but what library db lib??
> (i thought that wiht freetds it wouldn`t neccesary to install sybase
> client library)

FreeTDS replaces Sybase's libraries. You do not need Sybase's client
software or libraries to use FreeTDS or PHP.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page