Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
To: dk henderson <dalehend@yahoo.com>, cygwin@cygwin.com
Date: Sat, 22 Sep 2001 16:38:25 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: perl/dbi Can't create TCP/IP socket
Reply-to: gp@familiehaase.de
Message-ID: <3BACBE81.25348.3D5CBA1E@localhost>
In-reply-to: <200109221050.f8MAoZH20798@robin.mail.pas.earthlink.net>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001@t-dialin.net

dk henderson schrieb am 2001-09-22, 7:50:

>
>I can connect to a remote mysql server via the mysql client at a 
>cygwin shell prompt, but when I try from the localhost browser running
>apache 1.3.20, I get the above error msg. 
>
> $dbh = DBI->connect("$data_source", "$username", "$password", 
>{ RaiseError => 1, PrintError => 1, AutoCommit => 1 });
>where $data_source = DBI:mysql:<database name>:www.freesql.org:3306
>
>and <database name> is  a plain text name
>
>Is there any explanation for this?
>
>the apache httpd.conf has the same User as $username in $dbh value.
>
>thanks for any replies,
>dale

Sorry, I cannot help much with this.  Looks more like an Apache problem
than s.th. with cygwin.  Is the Apache running on cygwin, too?

Gerrit


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

