can anyone please provide some information like how to connect my iPhone app to the local sql server 2005. I tried searching in google but i was not able to find a solution, any url or link will be very useful.
Thanks in Advance.
one thing that you can not directly connect your iphone app to any data base except sqlite for other data base you have to create a webservice and can communicate to database whatever it may be hope this helps
Related
I am creating an iPhone application using xcode 4.2. I have a local SQLite database that I have created and it works fine on the simulator.
I want to move this database to a remote server so that others with this application can access the data and it can be updated.
Can anyone tell me the easiest way to do this? Or point me in the direction of some good tutorials?
I am pretty new to the whole iPhone programming so any help would be appreciated.
http://www.raywenderlich.com/2941/how-to-write-a-simple-phpmysql-web-service-for-an-ios-app this would help you
If you mean you want to "serve" the database from a remote host, vs having the DB resident on the phone, the best way to do this is with a REST protocol between phone and server.
I have an application that has login screen and it will get user name and password first then whenever application will start, username and password will be checked from data base and after that i need some data to be fetched from database and display in iphone application. So how to integrate mysql data base with iphone app?
you can go through the tutorial for this
raywenderlich provided a great tutorial for this.
Check this
http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/
tutorial for connectivity with sqlite.
You will not be able to connect to MySQL directly from the iPhone. You must use some intermediate layer such as a Web application with PHP.
So, you will have something like this:
iPhone POSTING a request to the WebServer using HTTP Web Server connecting to the MySQL database Web Server returning data to the iPhone (XML, plain text) iPhone processing the data You can use this technique to query and insert/update/delete data.
Once i found this library
http://www.eval-art.com/2008/09/05/libmysqlclient-for-iphone-2/
for mysql, and i dont aware how it works.
Hi I am a student with little knowledge about iPhone application and its database.
However, I am tasked to develop an iPhone application for a company. This application must require users to do registering as member and reflecting their member points.
Currently, the company is using MySQL as their database for their current ongoing. Whereas, after the implementation of the iPhone application which database should I use?
I am aware that iPhone only supports SQLite but how can I fetch the data from their current MySQL and make a linkage so it would be centralized and not having 2 individual database?
It sounds like your bosses threw you into very deep water without knowing how to swim, first.
There are a number of ways to answer your question, and I found a few related questions on various sites that might help you.
How to access remote MySql database from iPhone App
Connecting to a remote MySQL Database
Access mysql remote database from iPhone
You might want to start with just writing a small, non-database-using iPhone app to start with and then once you get the hang of it, then reach out into wild world of talking to remote databases.
hope this helps!
Just for the trial purpose i want to make an app for my iphone/iPad which can use a sqlite database locally or on a server. So how should i do this??? How should i get and post the data back and forth. I know its a lot to ask in a single question but if there is any link or tutorial you can provide me with, that would be great.
Thanks,
There are pretty good tutorials available to learn about sqlite & iphone programming,
I suggest these...
http://www.icodeblog.com/2008/08/19/iphone-programming-tutorial-creating-a-todo-list-using-sqlite-part-1/
http://www.mobileorchard.com/iphone-sqlite-tutorials-and-libraries/
I am in iPhone Application Development since last few months only..
So, I have working with some applications, and in all of the applications i used to follow the SOAP web service methods to get the data in my applications.
I have heard something on SQLite, but have lots of confusion regarding important of it.
So, if anybody can explain or just give me a hint regarding on SQLite will highly appreciated.
Thanks in advance...
SQLite is a database if you want to have data stored you can use it. You use web service because the data is not stored locally. SQLite allows you to store data locally.
http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/
http://www.mobileorchard.com/iphone-sqlite-tutorials-and-libraries/
In a nutshell SQLite is a library used to provide local database access to your iPhone app.
http://www.sqlite.org/