tags:

views:

63

answers:

2

I need to open a connection to a MySQL database from a commerical distributed closed source program. I know that Ruby has rewritten the mysql driver in pure ruby and that PHP 5.3 also comes with its own non GPL driver.

But what is with C/C++? Is there any way to do this without risking my code becoming GPL infected?

I did my last research about two years ago. Has the Sun purchase changed anything on the license issue.

+2  A: 

On MySQL's FAQ they say:

If you need a non-GPL license for commercial distribution please contact us.

Derek B.
Yes they want sell it, but i don't want to buy. It's just a shareware program and the mysql connectivity is a fractional part - not justifying the purchase of a license - And "please contact us" sounds very expensive.Thats why i want to check other options here cause there are legal ones like embedding ruby into my app and using their driver.
Lothar
Yikes! Ya, if they're charging that's probably no good for you.
Derek B.
A: 

you say mysql is just a fractional part...

Perhaps swap to PostgreSQL? or SQL Express?

Keith Nicholas