This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: perl/dbi Can't create TCP/IP socket



 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>&nbsp;</DIV>
> <DIV><FONT face=3DArial>Yes it is 1.3.20 running on latest =
> cygwin...</FONT></DIV>
> <DIV>&nbsp;</DIV>
> <DIV><FONT face=3DArial>&gt;&gt;Sorry, I cannot help much with =
> this.&nbsp; Looks=20
> more l&gt;&gt;ike an Apache problem<BR>t&gt;&gt;han s.th. with =
> cygwin.&nbsp; Is=20
> the Apache running on &gt;&gt;cygwin, too?<BR></DIV></FONT>
> <DIV><FONT face=3DArial>&gt;<BR>&gt;I can connect to a remote mysql =
> server via the=20
> mysql client at a <BR>&gt;cygwin shell prompt, but when I try from the =
> localhost=20
> browser running<BR>&gt;apache 1.3.20, I get the above error msg.=20
> <BR>&gt;<BR>&gt; $dbh =3D DBI-&gt;connect("$data_source", "$username",=20
> "$password", <BR>&gt;{ RaiseError =3D&gt; 1, PrintError =3D&gt; 1, =
> AutoCommit =3D&gt;=20
> 1 });<BR>&gt;where $data_source =3D DBI:mysql:&lt;database=20
> name&gt;:www.freesql.org:3306<BR>&gt;<BR>&gt;and &lt;database name&gt; =
> is&nbsp;=20
> a plain text name<BR>&gt;<BR>&gt;Is there any explanation for=20
> this?<BR>&gt;<BR>&gt;the apache httpd.conf has the same User as =
> $username in=20
> $dbh value.<BR>&gt;<BR>&gt;thanks for any=20
> replies,<BR>&gt;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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]