delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/08/09:57:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42F764A2.2070109@familiehaase.de>
Date: Mon, 08 Aug 2005 15:56:50 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: Warren Young <warren AT etr-usa DOT com>
CC: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: Updated MySQL patch file to version 4.1.13a
References: <42F02793 DOT 8080109 AT etr-usa DOT com> <42F07A02 DOT 4040308 AT familiehaase DOT de> <42F20ACF DOT 8050309 AT etr-usa DOT com> <42F2134E DOT 59A5E50F AT dessent DOT net> <42F23B1F DOT 7000303 AT etr-usa DOT com> <42F33DD7 DOT 8040701 AT familiehaase DOT de> <42F3533F DOT 6010408 AT etr-usa DOT com> <42F4BEA3 DOT 4010104 AT familiehaase DOT de> <42F739C4 DOT 10208 AT etr-usa DOT com>
In-Reply-To: <42F739C4.10208@etr-usa.com>
X-IsSubscribed: yes

Warren Young wrote:

>>> Thanks for your effort, but I'm ready to give up, for the overriding 
>>> licensing reasons stated elsewhere in this thread.
>>
>> Fine.  With more maintainers like you all the open source software would
>> already have been trashed.
> 
> That's a vast overreaction.

To give up is also 'a vast overreaction'.


> Again, I belive there are extremely few people in the world who actually
> _require_ a DLL/so version of MySQL++ on Cygwin.  (Probably zero,
> actually.)  The rest of the world can link statically to libmysqlclient,
> which works just fine.
> 
> If you're willing to keep sending me ideas to try, I'm willing to try
> them.  But I'm not going to bang my head against this wall for zero
> reward.  If you think I should, your arsenal of persuasion will have to
> extend beyond handwaving.

I am working on porting MySQL client and server to Cygwin for about
several years and I'm always interested in applications / bindings
which helps me finding bugs.  Now we have C++ bindings ported, fine.

If you think using shared version of mysqlclient and libmysql++ is not
stable, then make it optional (means make --disable-shared default).
Maybe a warning if a user wants to override it would be nice.

Initially I only wanted to help, you asked how to build a shared lib
on Cygwin, I replied.  Now that we found one or more bugs, this is fine!

Lets track down what goes wrong.

You say it works when using static versions of mysqlclient and mysql++,
I see the same error when trying this:

$ ./resetdb.exe 192.168.1.101
Connecting to database server...
Error creating DB: Access denied for user ''@'INSPIRON' to database 
'mysql_cpp_data'

$ cygcheck resetdb
Found: C:\cygwin\instsoft\mysql++\mysql++-2.0.0\examples\resetdb.exe
C:/cygwin/instsoft/mysql++/mysql++-2.0.0/examples/resetdb.exe
   C:\cygwin\bin\cygwin1.dll
     C:\WINDOWS\system32\ADVAPI32.DLL
       C:\WINDOWS\system32\ntdll.dll
       C:\WINDOWS\system32\KERNEL32.dll
       C:\WINDOWS\system32\RPCRT4.dll
   C:\cygwin\bin\cygz.dll

Connecting works fine, then getting back the access denied.


Gerrit
-- 
=^..^=

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