Mac Database Servers

Discussion in 'Mac Programming' started by cblackburn, Jan 22, 2007.

  1. macrumors regular

    Joined:
    Jul 5, 2005
    Location:
    London, UK
    #1
    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
     
  2. macrumors G4

    Joined:
    Jul 17, 2002
    Location:
    USA
    #2
    OpenBase is included with the Mac Developer Tools. The lastest version can be downloaded from the OpenBase SQL website.
     
  3. Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #3
    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.
     
  4. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #4
    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
     
  5. thread starter macrumors regular

    Joined:
    Jul 5, 2005
    Location:
    London, UK
    #5
    The GPL states the following:-
    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
     
  6. macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #6
    If you don't distribute MySQL, you are free to use it as you want.

    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:
     
  7. thread starter macrumors regular

    Joined:
    Jul 5, 2005
    Location:
    London, UK
    #7
    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
     

Share This Page