Making an app using a mysQL database

Can someone point me in the right direction? I would like to take a mySQL database and turn it into an app that would work on the iPhone or iPod Touch. But instead of using the web, I would like all of the content of the database to reside on the user's phone. That way they can still access the data even if they are not near a Wi-Fi hotspot. Is this possible? Is there a tutorial somewhere?

Thanks!

Mac OS X (10.5)

Posted on Sep 22, 2009 6:46 AM

Reply
5 replies

Sep 22, 2009 7:01 AM in response to polishedstaple

If you want the data accessible off-line you'll need to write a dedicated application using XCode on a Mac with the iPhone Software Development Kit. You pay to sign-up as a registered developer, write your app (in Objective-C), submit it to Apple for approval and then it will be available on the AppStore.

Start here: http://developer.apple.com/iphone/

Sep 22, 2009 7:29 AM in response to polishedstaple

It's quite a big departure from PHP & MySQL.

Do you know anything about programming Macs or Objective-C? If so, that will give you a big head start.

Is it absolutely essential that the whole database is available offline? It sounds like your job is done if the user can go online, but if offline access makes it another whole job on top of the web-site you've made.

You might be able to use the HTML5 Client-side database support in Safari:

http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/Safari JSDatabaseGuide/Introduction/Introduction.html

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Making an app using a mysQL database

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.