How to connect amazon RDS in iOS

I am creating an application in which I used Amazon Simple db, but now I have changed simple db to amazon rds mysql. Simple db had its own api and frame works to access the database and tables in iOS, but how to access amazon rds mysql in iOS, any idea how to do this. They have Amazon have libraries for simple db, if there is any other libaray way to use amazon rds in an iOS app, thanks

+1
source share
3 answers

Amazon RDS instances are regular MySQL / Oracle / databases .... You can connect to it from any device or platform if you have a driver for it.

There is a C driver for Mysql (see this question How to install MySQL Connector / C on Mac OS X? ) That works on Mac OS X and iOS.

If you want to access MySQL RDS from an iOS application, you must include this driver in your binary distribution and use the functions opened by the driver from your code.

From an architectural point of view, however, I doubt this approach. There are many advantages to accessing your database through the API level (a web application located between your iOS application and the database).

: - : - : API - : API

+4

RDS , API. EC2 (). , , apache, mysql, php. PHP RestKit .

+2

, jdbc RDS iOS-.

, ( ), Beanstalk RDS. . .

- PHP ( , ), WAR Elastic Beanstalker, Java. "" Java.

0

All Articles