MySQL with Cocoa

  • Hi,

    I'm trying to connect to a MySQL database from within a Cocoa app, I've
    been trying to download the documentation on
    http://mysql-cocoa.sourceforge.net/ but I don't think they're developing
    this API anymore and if I'm not mistaken, it's not Universal Binary.
    What do you guys suggest on doing in this case?

    Robin

    --
    BE : +32473633594
    NL : +31645015936
    US : 001 407 310-3697
    E : <info...>
    I : www.robinreumers.com
  • Perfect, thank you very much, I didn't think of downloading their source
    code!

    Robin

    BE : +32473633594
    NL : +31645015936
    US : 001 407 310-3697
    E : <info...>
    I : www.robinreumers.com

    Dave DeLong wrote:
    > Or you could download the source for the program on it's download
    > page.  It is a sourceforge project, after all.
    >
    > http://cocoamysql.sourceforge.net/download.php
    >
    > Dave DeLong
    >
    >
    > On 22 Sep, 2007, at 10:32 AM, Colin Cornaby wrote:
    >
    >> You can pull a universal binary version of the framework out of an
    >> app called CocoaMySQL.
    >>
    >> Sent from my iPhone
    >>
    >> On Sep 22, 2007, at 3:27 AM, Robin Reumers <robin.reumers...>
    >> wrote:
    >>
    >>> Hi,
    >>>
    >>> I'm trying to connect to a MySQL database from within a Cocoa app,
    >>> I've been trying to download the documentation on
    >>> http://mysql-cocoa.sourceforge.net/ but I don't think they're
    >>> developing this API anymore and if I'm not mistaken, it's not
    >>> Universal Binary. What do you guys suggest on doing in this case?
    >>>
    >>> Robin
    >>>
    >>> --
    >>> BE : +32473633594
    >>> NL : +31645015936
    >>> US : 001 407 310-3697
    >>> E : <info...>
    >>> I : www.robinreumers.com

    >>

    >
    >
  • You can pull a universal binary version of the framework out of an app
    called CocoaMySQL.

    Sent from my iPhone

    On Sep 22, 2007, at 3:27 AM, Robin Reumers <robin.reumers...>
    wrote:

    > Hi,
    >
    > I'm trying to connect to a MySQL database from within a Cocoa app,
    > I've been trying to download the documentation on http://mysql-cocoa.sourceforge.net/
    > but I don't think they're developing this API anymore and if I'm
    > not mistaken, it's not Universal Binary. What do you guys suggest on
    > doing in this case?
    >
    > Robin
    >
    > --
    > BE : +32473633594
    > NL : +31645015936
    > US : 001 407 310-3697
    > E : <info...>
    > I : www.robinreumers.com
  • Or you could download the source for the program on it's download
    page.  It is a sourceforge project, after all.

    http://cocoamysql.sourceforge.net/download.php

    Dave DeLong

    On 22 Sep, 2007, at 10:32 AM, Colin Cornaby wrote:

    > You can pull a universal binary version of the framework out of an
    > app called CocoaMySQL.
    >
    > Sent from my iPhone
    >
    > On Sep 22, 2007, at 3:27 AM, Robin Reumers
    > <robin.reumers...> wrote:
    >
    >> Hi,
    >>
    >> I'm trying to connect to a MySQL database from within a Cocoa app,
    >> I've been trying to download the documentation on http://mysql-cocoa.sourceforge.net/
    >> but I don't think they're developing this API anymore and if I'm
    >> not mistaken, it's not Universal Binary. What do you guys suggest
    >> on doing in this case?
    >>
    >> Robin
    >>
    >> --
    >> BE : +32473633594
    >> NL : +31645015936
    >> US : 001 407 310-3697
    >> E : <info...>
    >> I : www.robinreumers.com

    >
  • This is precisely what I'm doing, it works perfectly fine.

    > From: Colin Cornaby <colin.cornaby...>
    > Subject: Re: MySQL with Cocoa
    >
    > You can pull a universal binary version of the framework out of an app
    > called CocoaMySQL.
  • On 22/09/2007, Robin Reumers <robin.reumers...> wrote:
    > Hi,
    >
    > I'm trying to connect to a MySQL database from within a Cocoa app

    Make sure you're aware of the licensing implications of doing this :o)

    -- Finlay
  • Which are?

    > From: Finlay Dobbie <finlay.dobbie...>
    > Subject: Re: MySQL with Cocoa
    >
    >> I'm trying to connect to a MySQL database from within a Cocoa app
    >
    > Make sure you're aware of the licensing implications of doing this :o)
  • The MySQL client libraries are covered by the GPL or a commercial
    license as of version 4. Basically this means you'll probably either
    have to release your app under the GPL (copyleft open source) or buy a
    license off MySQL AB. IANAL, YMMV, etc.

    See <http://www.mysql.com/company/legal/licensing/faq.html>.

    -- Finlay

    On 22/09/2007, Chris Williams <chris...> wrote:
    > Which are?
    >
    >> From: Finlay Dobbie <finlay.dobbie...>
    >> Subject: Re: MySQL with Cocoa
    >>
    >>> I'm trying to connect to a MySQL database from within a Cocoa app
    >>
    >> Make sure you're aware of the licensing implications of doing this :o)

    >
  • >> Make sure you're aware of the licensing implications of doing
    >> this :o)
    >>
    >
    > Which are?
    >

      ... which are easy enough to find for yourself on the vendor's
    site. Essentially, it's not free if you're going to be distributing
    your app. For a shareware developer and the average shareware app, the
    price is prohibitive (read "astronomical"). If you plan to distribute
    this application for less than a few hundred dollars a license,
    consider PostgreSQL or SQLite.

    --
    I.S.
  • I would hope that anyone who is assuming the end user of their application
    has access to MySQL has already considered the many issues, including, but
    not limited to:

    a) how that end user installs or gets access to the server
    b) what permissions, server access instructions, etc., that the end user
    needs
    c) what kind of hand-holding and ever-so-helpful error messages they will
    need when the installation and/or access fails
    d) how to create the necessary database/tables/indices on installation
    e) how to upgrade those tables, fields, indices, etc. when they inevitably
    change in the next version
    f) how to maintain/backup the database information for the end user
    g) how to advise the end user on performance issues/settings specific to
    their application
    h) how to deal with the differences between 4.x and 5.x which have very
    different capabilities
    i) how to work with and/or recommend the appropriate database engine (ISAM,
    InnoDB, etc.) that the various versions/installations have access to
    j) oh, and gee, yes, the licensing implications of using MySQL or any other
    libraries

    In short, I would think that, if you are really headed down the road of a
    commercial application that assumes MySQL (or any other specific DB
    implementation) you have a whole lot of things to consider well beyond the
    licensing...

    My question was essentially: what parts of the licensing do you find so
    onerous?  That was answered, the money.

    My point: the money┬╣s the easy part...

    On 9/22/07 4:55 PM, "I. Savant" <idiotsavant2005...> wrote:

    > ... which are easy enough to find for yourself on the vendor's
    > site. Essentially, it's not free if you're going to be distributing
    > your app. For a shareware developer and the average shareware app, the
    > price is prohibitive (read "astronomical"). If you plan to distribute
    > this application for less than a few hundred dollars a license,
    > consider PostgreSQL or SQLite.
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today