public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: dk henderson <dalehend@yahoo.com>
To: cygwin@cygwin.com
Subject: perl/dbi Can't create TCP/IP socket
Date: Sat, 22 Sep 2001 03:51:00 -0000	[thread overview]
Message-ID: <200109221050.f8MAoZH20798@robin.mail.pas.earthlink.net> (raw)

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


--
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/

             reply	other threads:[~2001-09-22  3:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-22  3:51 dk henderson [this message]
2001-09-22  8:07 ` Gerrit P. Haase
2001-09-22 15:49 yahoo
2001-09-25  0:55 dk henderson
2001-09-25  1:22 ` Michael Hoffman
2001-09-25  2:25 dk henderson
2001-09-25 10:47 ` Michael Hoffman
2001-09-26  2:30   ` yahoo
2001-09-26 14:44     ` Michael Hoffman
2001-09-26 18:21       ` yahoo
2001-09-27  6:03       ` Stipe Tolj
2001-09-27 18:54         ` Michael Hoffman
     [not found] <200109300523.WAA15774@hawk.mail.pas.earthlink.net>
2001-09-30  2:09 ` Stipe Tolj
2001-10-04 16:56 dk henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200109221050.f8MAoZH20798@robin.mail.pas.earthlink.net \
    --to=dalehend@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).