delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/12/11:49:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Brian Osborne" <brian_osborne AT cognia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: mysql troubles in cygwin
Date: Mon, 12 Aug 2002 11:49:29 -0400
Message-ID: <GAEDKMGOKFBLJPKCLKCCGEBPCEAA.brian_osborne@cognia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

Cygwin,

First, congratulations and praise to the cygwin developers, it is a very
impressive package and one that I'm using to do a lot of work for Bioperl, a
perl-based bioinformatics effort.

Everything I've tried so far in cygwin has worked very well, and the
installs have been straightforward, with the exception of mysql, version
3.23.51. I do the configure with the -prefix option as '/usr/local/mysql' as
recommended, the compile is seamless, the chgrp and chown commands work, the
scripts/mysql_install_db command works, I can start the database
(bin/safe_mysqld &) and I can see it running in Task Manager, but I'm unable
to log in to the database:

/usr/local/mysql>bin/mysql -u root -p
Enter password:
ERROR 2013: Signal 14
020812 11:30:28 mysqld restarted
Lost connection to MySQL server during query

More details:

Windows NT 2000 v. 5
Cygwin 1.3.12

The BOSBORNE.err file says:

020812 11:30:28  mysqld restarted
Warning: One can only use the --user switch if running as root
/usr/local/mysql/libexec/mysqld: ready for connections

You may argue that this is a mysql question, but I'm pretty sure that this
is a problem specific to cygwin, I've been able to do the corresponding
install on Linux, it works. Also I've found no useful information at
www.mysql.com. Has anyone gotten mysql to run on a recent cygwin release? My
gut feeling tells me that this is a configuration or permissions issue, I've
tried all sorts of chmods and chowns and chgrps, nothing has worked,
obviously. I also see the same problem if the bin/mysql executable is setuid
root.

Thank you,

Brian O.




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

- Raw text -


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