PDA

View Full Version : Mac Database Servers




cblackburn
Jan 22, 2007, 04:16 PM
Hi all,

I am writing an app for a customer and I need a relational database with SQL. My first thought was to use MySQL with mysql-cocoa to interface with it. This seems to be a non starter because I do not want to release the source code to my program.

What other alternatives are there for (relatively) cheap database servers that run on Mac OS X that I can interface with via Cocoa?

Thanks for your help

Chris



MisterMe
Jan 22, 2007, 04:34 PM
OpenBase (http://openbase.com/index.html) is included with the Mac Developer Tools. The lastest version can be downloaded from the OpenBase SQL website (http://openbase.com/index.html).

bousozoku
Jan 22, 2007, 04:40 PM
InterBase/Firebird is a Borland product that went open source that's available for Mac OS X.

Valentina is another database that's been available on Mac OS X for a while and it's an object-relational hybrid.

jeremy.king
Jan 23, 2007, 10:37 AM
This seems to be a non starter because I do not want to release the source code to my program.

Just because your application uses MySQL doesn't mean you have to release the source for your application. You would only have to release source if you are modifying the MySQL source code - but who's crazy enough to do that.

Some other alternatives not already mentioned include Apache Derby (http://db.apache.org/derby/) and PostgreSQL (http://www.postgresql.org/)

cblackburn
Jan 23, 2007, 10:46 AM
Just because your application uses MySQL doesn't mean you have to release the source for your application. You would only have to release source if you are modifying the MySQL source code - but who's crazy enough to do that.

The GPL states the following:-
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

I called the MySQL headquarters in the U.S. and they told me that anything which in any way links to libmysql must be either GPL or licensed from them.

The price that they quoted me was 429GBP per server the software connects to.

Chris

jeremy.king
Jan 23, 2007, 11:05 AM
If you don't distribute MySQL, you are free to use it as you want.


Free use for those who never copy, modify or distribute. As long as you never distribute the MySQL Software in any way, you are free to use it for powering your application, irrespective of whether your application is under GPL license or not.

I am guessing you want to bundle MySQL with your app so this wouldn't apply.

Of course if you call them, they will want you to buy a license. But if you don't want to hassle, just use something else. Worst case, you could just roll your own :eek:

cblackburn
Jan 23, 2007, 11:16 AM
If you don't distribute MySQL, you are free to use it as you want.

This means that you can develop software that connects to MySQL and use it in house. However if you then distrobute your software you have to distrobute some form of libmysql. This counts as redistrobution and therefore requires a license.

I suppose I could reimplement libmysql myself but I think it would be less painful to just pay the license fee :).

Chris