delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/13/00:51:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Superb-Authentication: SMTP AUTH verified <shane%litepc.com>
From: "Shane" <sb3 AT litepc DOT com>
To: cygwin AT cygwin DOT com
Date: Fri, 13 Aug 2004 14:51:22 +1000
MIME-Version: 1.0
Subject: Re: prob with 1.5.10-3 prevents MySQL connect. 1.5.9-1 is OK.
Message-ID: <411CD56A.26411.2A2F4C1@localhost>
In-reply-to: <411CCFBB.20675.28CC30E@localhost>
X-IsSubscribed: yes

On 13 Aug 2004 at 14:27, Shane wrote:
> Hello,
> 
> With Cygwin Core 1.5.9-1 I can successfully connect to a remote mysql
> server from a perl script in both the shell and also from a perl
> script called from a web page.  Great!
> 
> With Cygwin Core 1.5.10-3  I can *NOT* connect to the remote mysql
> server from a web page called script.  Apache generates the error
> 
> DBI->connect(database=test;host=<my hostname>) failed: Can't create
> TCP/IP socket (1)
> 
> The same script called from a command line perl CAN conenct to the db
> without problem (after all the "make test" for DBD::mysql passed 100%)

[..snip..]

I need to add the in switching between the two versions of the cygwin 
base dll  using the setup utility I had to also switch versions of 
Perl.  All other installed modules were latest versions.

cygwin 1.5.9-1 used perl 5.8.2-1
cygwin 1.5.10-3 used perl 5.8.5-2

missmatched versions give errors in perl.

So to be clear the two systems (one working and one not) differ in 
both cygwin and perl versions (nothing else).  Oddly both systems can 
connect to a remote DB from perl - just not when a browser calls the 
script from apache.

Lastly - it makes no difference which version of cygwin apache was 
compiled with. If we take a working system and then just upgrade perl 
and cygwin without rebuilding the error occurs.  Likewise a non-
working system that downgrades cygwin and perl suddenly works ok.

Hope this helps.
Shane

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019