Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 22, 2007, 04:16 PM   #1
cblackburn
macrumors regular
 
Join Date: Jul 2005
Location: London, UK
Mac Database Servers

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
cblackburn is offline   0 Reply With Quote
Old Jan 22, 2007, 04:34 PM   #2
MisterMe
macrumors G4
 
Join Date: Jul 2002
Location: USA
OpenBase is included with the Mac Developer Tools. The lastest version can be downloaded from the OpenBase SQL website.
__________________
Neither a borrower nor a lender be
For loan oft loses both itself and friend
William Shakespeare from Hamlet
MisterMe is offline   0 Reply With Quote
Old Jan 22, 2007, 04:40 PM   #3
bousozoku
Moderator emeritus
 
Join Date: Jun 2002
Location: Gone but not forgotten.
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.
bousozoku is offline   0 Reply With Quote
Old Jan 23, 2007, 10:37 AM   #4
jeremy.king
macrumors 603
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
Quote:
Originally Posted by cblackburn View Post
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 and PostgreSQL
jeremy.king is offline   0 Reply With Quote
Old Jan 23, 2007, 10:46 AM   #5
cblackburn
Thread Starter
macrumors regular
 
Join Date: Jul 2005
Location: London, UK
Quote:
Originally Posted by kingjr3 View Post
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:-
Quote:
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
cblackburn is offline   0 Reply With Quote
Old Jan 23, 2007, 11:05 AM   #6
jeremy.king
macrumors 603
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
If you don't distribute MySQL, you are free to use it as you want.

Quote:
Originally Posted by http://www.mysql.com/company/legal/licensing/opensource-license.html
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
jeremy.king is offline   0 Reply With Quote
Old Jan 23, 2007, 11:16 AM   #7
cblackburn
Thread Starter
macrumors regular
 
Join Date: Jul 2005
Location: London, UK
Quote:
Originally Posted by kingjr3 View Post
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
cblackburn is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
GW2 Database- iPhone and iPad database for Guild Wars 2 skoroapps iPad Apps 19 Jul 20, 2013 05:59 AM
GW2 Database - iPhone and iPad database for Guild Wars 2 skoroapps iPhone and iPod touch Apps 14 Jul 20, 2013 05:58 AM
Which Companies Use Mac Servers? macdaddy5 Mac OS X Server, Xserve, and Networking 50 Jun 13, 2013 04:45 PM
Mac OS X 10.9 appears on servers gto55 OS X 6 Oct 14, 2012 11:15 AM
COD4 Mac Servers mikeyg36 Mac and PC Games 2 Jul 5, 2012 11:15 PM

Forum Jump

All times are GMT -5. The time now is 03:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC