perl/dbi Can't create TCP/IP socket

yahoo dalehend@yahoo.com
Sat Sep 22 15:49:00 GMT 2001


 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:<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
>
>
> Gerrit
>
>
>
> ------=_NextPart_000_0007_01C14396.57D4BE00
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial></FONT> </DIV>
> <DIV><FONT face=3DArial>Yes it is 1.3.20 running on latest =
> cygwin...</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial>>>Sorry, I cannot help much with =
> this.  Looks=20
> more l>>ike an Apache problem<BR>t>>han s.th. with =
> cygwin.  Is=20
> the Apache running on >>cygwin, too?<BR></DIV></FONT>
> <DIV><FONT face=3DArial>><BR>>I can connect to a remote mysql =
> server via the=20
> mysql client at a <BR>>cygwin shell prompt, but when I try from the =
> localhost=20
> browser running<BR>>apache 1.3.20, I get the above error msg.=20
> <BR>><BR>> $dbh =3D DBI->connect("$data_source", "$username",=20
> "$password", <BR>>{ RaiseError =3D> 1, PrintError =3D> 1, =
> AutoCommit =3D>=20
> 1 });<BR>>where $data_source =3D DBI:mysql:<database=20
> name>:www.freesql.org:3306<BR>><BR>>and <database name> =
> is =20
> a plain text name<BR>><BR>>Is there any explanation for=20
> this?<BR>><BR>>the apache httpd.conf has the same User as =
> $username in=20
> $dbh value.<BR>><BR>>thanks for any=20
> replies,<BR>>dale<BR><BR><BR>Gerrit<BR><BR></DIV></FONT></BODY></HTML>=
>
>
> ------=_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/



More information about the Cygwin mailing list