delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/30/19:45:42

X-Spam-Check-By: sourceware.org
Message-ID: <12418256.post@talk.nabble.com>
Date: Thu, 30 Aug 2007 16:45:13 -0700 (PDT)
From: JamesStock <netegrity AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Subject: Cygwin w/ Apache+mysql+php+Perl (win XP)
MIME-Version: 1.0
X-Nabble-From: netegrity AT yahoo DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi I am having issues w/ the following config:

I have Apache, mysql, PHP and perl (activestate) installed in my XP (NOT
through cygwin but installed individually).  I can use dos prompt and
connect to mysql DB (e.g mysql -U???? -P?????), I can also use Mysql-Front /
SQLyog to connect to mysql (localhost of course).  But if I open an xterm
through cygwin, I cannot connect to mysql (e.g mysql -U???? -P?????).  Also
the activestate perl (has DBD DBI mysql module installed) can access mysql
db (through dos calling a pl script / using cgi through apache).  But I
cannot use perl through cygwin to connect to mysql.  WHen I tried to do a
'mysql -U???? -P????' through the xterm in cygwin, it'll just 'hang' and
keep me waiting and waiting w/out errors..so I had to do a hard excape. 
also when I tried to execute the same perl script (the same script I used
through dos prompt) through the xterm in cygwin, i cannot connect to mysql. 
Not sure if it's the same issue (mysql and perl), but how should I tackle
them?  I know that the perl and mysql package is different b/w the one
installed in windows and the one installed through cygwin.  anyways I can
have cygwin use the perl and mysql installed in windows?  when I do a 'which
perl' it tells me it's using /usr/bin/perl while the perl (activestate)
under windows is installed in another dir so it's definitely using a
different perl package.  I tried installed DBI:mysql bundle into the perl
pkg in cygwin but it failed becoz it cannot find the mysql_config. so I
cannot installed that.  ANyhelp will be appreciated. thx

-- 
View this message in context: http://www.nabble.com/Cygwin-w--Apache%2Bmysql%2Bphp%2BPerl-%28win-XP%29-tf4357512.html#a12418256
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019