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

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.