Skip to Content.
Sympa Menu

freetds - Re: [freetds] PHP 5.2.6 + pdo_dblib + FreeTDS 0.64 -- tds_open_socket: Unknown error: 0

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] PHP 5.2.6 + pdo_dblib + FreeTDS 0.64 -- tds_open_socket: Unknown error: 0
  • Date: Wed, 23 Jul 2008 20:13:37 -0400

Kian Mohageri wrote:
> [foobar]
> host = foobar.housing.wwu.edu
> port = 2638
> tds version = 5.0

Is this a Sybase server? What says:

$ tsql -S foobar -U user -P passwd

It don't expect it to solve your problem, but I recommend upgrading to
0.82 while you're at it. The code in the vicinity of

> 16:21:00.282174 37177 (net.c:237):tds_open_socket:
> 140.160.12.123:2638: Unknown error: 0

has changed, and that error message is peculiar. connect(2) can't return
an "error" of 0; zero means success. But I don't particularly want to
debug 0.64 if that turns out to be the issue.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page