Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Bill McCormick" To: Subject: mysqlc Date: Wed, 2 Jul 2003 14:07:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Note-from-DJ: This may be spam There are a couple of different issues here: 1. connecting mysqlc client under cygwin bash shell 2. setting up the perl DBD::mysql I'm running mysql server (win32) and I think mysqlc client should be able to connect running under cygwin. It runs under cmd.exe; under cygwin it just hangs. If I don't specify user (under bash) it complains as it should ... ERROR 1045: Access denied for user: 'Bill AT 127 DOT 0 DOT 0 DOT 1' (Using password: NO) Now since mysql is totally socket based, I shouldn't have to run mysql under cygwin (not to mention jump through recompiling hoops to get there.) Running the Winbloz server should be the path of least resistance ... right? I'm trying to set up a web development env with cygwin (apache,php,perl,mysql). Shouldn't be an issue but I'm also running postgresql for something else. So I'm concerned that if I can't get a simple command line client to connect and work with mysql, perl and php will have problems as well under cygwin. Got Apache working, mysql server running under windows, trying to get the perl DBD set up at the moment ... perl -MCPAN -e 'install DBD::mysql' results in ... **************************************** Removing previously used /home/Bill/.cpan/build/DBD-mysql-2.9002 CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9002.tar.gz Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Can't exec "mysql_config": No such file or directory at Makefile.PL line 174. readline() on closed filehandle PIPE at Makefile.PL line 176. Failed to determine directory of mysql.h. Use perl Makefile.PL --cflags=-I to set this directory. For details see the INSTALL.html file, section "C Compiler flags" or type perl Makefile.PL --help Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install ******************************************* Under linux I'd do this as root, but since user Bill as administrator privileges this shouldn't be the issue. Thanks, Bill --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003 -- 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/