Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jaikob

macrumors 6502
Original poster
Jul 1, 2008
429
0
Freeland, MI
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.
 

Cromulent

macrumors 604
Oct 2, 2006
6,802
1,096
The Land of Hope and Glory
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).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.