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: <200109221050.f8MAoZH20798@robin.mail.pas.earthlink.net> Date: Sat, 22 Sep 2001 07:50:09 -0400 To: cygwin AT cygwin DOT com From: dk henderson Subject: perl/dbi Can't create TCP/IP socket X-Mailer: Opera 5.12 build 932 X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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::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 -- 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/