Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000501c143c1$1faf0f00$a14585ce@projectobjects> From: "yahoo" To: Subject: Re: perl/dbi Can't create TCP/IP socket Date: Sat, 22 Sep 2001 18:48:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Yes it is 1.3.20 running on latest cygwin... > >>Sorry, I cannot help much with this. Looks more l>>ike an Apache = > problem > t>>han s.th. with cygwin. Is the Apache running on >>cygwin, too? > > > > >I can connect to a remote mysql server via the mysql client at a=20 > >cygwin shell prompt, but when I try from the localhost browser running > >apache 1.3.20, I get the above error msg.=20 > > > > $dbh =3D DBI->connect("$data_source", "$username", "$password",=20 > >{ RaiseError =3D> 1, PrintError =3D> 1, AutoCommit =3D> 1 }); > >where $data_source =3D DBI:mysql::www.freesql.org:3306 > > > >and 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 > > > Gerrit > > > > ------=_NextPart_000_0007_01C14396.57D4BE00 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > > > charset=3Diso-8859-1"> > > > > >
 
>
Yes it is 1.3.20 running on latest = > cygwin...
>
 
>
>>Sorry, I cannot help much with = > this.  Looks=20 > more l>>ike an Apache problem
t>>han s.th. with = > cygwin.  Is=20 > the Apache running on >>cygwin, too?
>
>
>I can connect to a remote mysql = > server via the=20 > mysql client at a
>cygwin shell prompt, but when I try from the = > localhost=20 > browser running
>apache 1.3.20, I get the above error msg.=20 >
>
> $dbh =3D DBI->connect("$data_source", "$username",=20 > "$password",
>{ RaiseError =3D> 1, PrintError =3D> 1, = > AutoCommit =3D>=20 > 1 });
>where $data_source =3D DBI:mysql:<database=20 > name>:www.freesql.org:3306
>
>and <database name> = > is =20 > a plain text name
>
>Is there any explanation for=20 > this?
>
>the apache httpd.conf has the same User as = > $username in=20 > $dbh value.
>
>thanks for any=20 > replies,
>dale


Gerrit

= > > > ------=_NextPart_000_0007_01C14396.57D4BE00-- -- 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/