delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/08:46:51

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
Date: Thu, 10 Jul 2003 13:46:36 +0100
From: Elfyn McBratney <elfyn AT emcb DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: Bill McCormick <wpmccormick AT covad DOT net>
cc: cygwin AT cygwin DOT com
Subject: RE: mysqlc (was RE: php-mysql-cygwin how to)
In-Reply-To: <NDBBLLFMLFMANIDPNADCIEFCFBAA.wpmccormick@covad.net>
Message-ID: <Pine.CYG.4.55.0307101337520.1464@ellixia>
References: <NDBBLLFMLFMANIDPNADCIEFCFBAA DOT wpmccormick AT covad DOT net>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0

On Thu, 10 Jul 2003, Bill McCormick wrote:

> > -----Original Message-----
> > From: Elfyn McBratney [mailto:elfyn AT emcb DOT co DOT uk]
> > Sent: Thursday, July 10, 2003 5:55 AM
> > To: Bill McCormick
> > Cc: cygwin AT cygwin DOT com
> > Subject: RE: mysqlc (was RE: php-mysql-cygwin how to)
> >
> > >
> > > I compiled the 4.0.13 and I don't seem to have a mysqlc
> > executable. What I
> > > don't understand is why the mysqlc client that comes with the
> > mysql win32
> > > (which uses the cygwin dll) doesn't run in a cygwin bash shell.
> >
> > In the Win32 dist there are two clients, mysql.exe (the native
> > Win32 client) and
> > mysqlc.exe (the Cygwin client). mysqlc.exe was just an "extra".
>
> Right, the fact that mysqlc was an "extra" in the Win32 dist. was obvious.
> The fact that it didn't work under a cygwin bash shell was not so obvious,
> and the reason is still as unclear.

I've never bothered to find out. I guess it's because mysqlc is linked against
B19.

> > > Even if it
> > > did, it still doesn't get us to the point where we can use Perl and PHP
> > > under Cygwin, right?
> >
> > Of course. Once you have the client lib you can then install and
> > use DBD::mysql
> > and php_mysql.
> >
>
> And many others.
>
> > > Also, why bother getting a server to run under Cygwin? It runs
> > under Windows
> > > just fine. Getting it to run under Cygwin under Windows seems
> > like a lot of
> > > busy work to little end. The only important thing is that the
> > client works
> > > so we can use the Perl DBI, PHP and other various client
> > interfaces. Or am I
> > > missing something?
> >
> > It's the same argument for Apache, PostgreSQL, Perl etc, etc. I
> > suppose it's not
> > really needed, but some people might like to "play". :-)
> >
>
> Ok. I was thinking of cygwin in terms of a development environment for Linux
> based web apps. As far as PostgreSQL running under Win32, unless things have
> changed, I thought cygwin IS the only way. The others are strictly necessary
> for this type of devel. MySQL is not. I guess what threw me off was when
> someone said they were going to "drop" what they were working on to get the
> server working - as if there were some urgency to it.

I thought PostgreSQL had been Windows'ised..guess not :-)

The reason for having the server for me, is that my web host only allows
connections from localhost. So, in order for me to test my apps I have to
ssh to the host, compile the program, run it, etc, etc. Whereas, if I had
the server on Cygwin, I could do all of that testing locally.

There's no urgency in having it in the Cygwin distribution. I was working on
some very, very boring stuff that day and I felt like a change. :-)

Elfyn

-- 
Elfyn McBratney, EMCB
http://www.emcb.co.uk
elfyn AT emcb DOT co DOT uk



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