Mail Archives: cygwin/2005/08/08/09:57:07
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 -