List:General Discussion« Previous MessageNext Message »
From:Viliam Batka Date:June 3 2002 2:19pm
Subject:Re: MySQL + cygwin
View as plain text  
Hi Chris,

I have tried to compile following version of the MySQL under cygwin.

- 3.23.47
- 3.23.50
- 4.0.1

I was able to compile (client + server ) all of mentioned version,  BUT most
of the test have failed except for the version 3.23.50 that seem to me to
work in most cases but not in all.
I am still exploring the cygwin MySQL and therefore there could be people
with other experience.

For your information I was able to connect to my cygwin MySQL Server
(3.23.50) with the MyCC GUI interface as well as compile the DBD::mysql Perl
module that I am using for "LXR" source code indexer and cross-referencer
under Cygwin.

I have to admit that I am not sure about reliability be my compiled MySQL
Server. I am able to use only the "safe_mysqld" variant of the MySQL startup
procedure.  (For some reason in MySQL version 4.0.1 it is called
"mysqld_safe").

When I tried to use the Perl module (compiled with cygwin MySQL client
v3.23.50) to connect to the Win32 MySQL server 4.0.x via "mysql.sock" I was
unsuccessful. I do not know whether it is possible at all. The Win32 MySQL
server didn't created the socket file. Maybe my configuration is incorect.

My suggestion is that you use the MySQL version 3.23.50. Only this version I
was able to put alive.

Cheers,

Viliam


----- Original Message -----
From: "Chris Knipe" <savage@stripped>
To: <mysql@stripped>
Sent: Monday, June 03, 2002 4:49 PM
Subject: MySQL + cygwin


> Anyone have any ideas on how to get MySQL to work under cygwin?
>
> I'm especially interested in getting a libmysqlclient which is compatible
> with cygwin so that I can use it to compile various other program which
> require the library...
>
> Currently, I run mysql 3.23.49-max for Win32 (NT 4.0) because I do most of
> my development thereon, but lately, I've been starting to integrate
various
> DB and PHP related functions into my unix like system (which is currently
> non existent).
>
> Because of this, the closest I can find to running both a linux equivalent
> and a Win32 platform, is cygwin.... But alas... No mysql for cygwin, only
> for Win32?
>
> And I can't use the Win32 includes or libraries to compile other related
> software via cygwin, it complains about a incompatible host type...
>
> <snips lots of ./configure stuff>
> configure: warning: /cygdrive/d/mysql/lib/opt: invalid host type
> configure: warning: /cygdrive/d/mysql/include: invalid host type
> configure: error: can only configure for one host and one target at a time
> </snip>
>
> Any idea's or help will be appreciated...
>
> --
> me
> <query>
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <mysql-thread110761@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-viliamb=clear.net.nz@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>

Thread
MySQL + cygwinChris Knipe3 Jun
  • Re: MySQL + cygwinYegor N. Bryukhov3 Jun
    • RE: MySQL + cygwinTerry3 Jun
  • Re: MySQL + cygwinViliam Batka3 Jun
  • Re: MySQL + cygwinChris Knipe3 Jun