1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Database

Discussion in 'Mac Programming' started by jaikob, Nov 1, 2009.

  1. macrumors 6502

    jaikob

    #1
    I have a remote web application using mysql. On windows I made a desktop app to generate a random key to access the apps file portal. This is achieved by creating a random string and inserting it remotely into my database.

    Well, I'm trying to do the same thing for mac, and found no clear solution to connect to mysql. So, I thought about attaching a SQLite DB to my web application, and checking both mysql and sqlite, sqlite only being used with the mac app.

    How do I connect ObjC to my remote SQLite DB? or if anyone has a solution to connect mysql, that would be great!

    Thanks for the help.

    PS: If neither are possible, how would I go about displaying a webview in my app?

    I know enough objC to get around, but am not a pro at it by any means.
     
  2. macrumors 603

    Cromulent

    #2
    If you want to connect to a remote MySQL database just use the included C developer library and your problem is solved (included in the MySQL binary distribution for Mac OS X that is).
     

Share This Page