Published on June 8, 2017 by CodeWithChris

In this video series, I’ll show you how to connect an iPhone app to MySQL. We’ll go through it step by step starting from the beginning.

You’ll learn how to:
– Sign up for web hosting
– Create a new MySQL database
– Set up a MySQL database user
– Set access permission for that user
– Create a PHP web service to access the data
– Create an iOS app with a tableview, multiple screens and a map
– Access the PHP web service via the app to download the data from your MySQL database.

This is a video version of the tutorial here:

The Best Way to Connect Your iOS App to MySQL Database (4 Steps)

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!

Website: codewithchris.com

CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 3, Xcode 8 and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (www.betterwithmusic.com/)

Leave a Reply

39 Comments on "How to Connect an iOS App to a MySQL Database (Step by Step) – Part 1"

Notify of
avatar

GulamALI
Guest
GulamALI
1 month 23 days ago

Hello sir .. I have read this series tutorial on your website I want to ask that how can we update data in MySql using swift..

stefen
Guest
stefen
7 months 20 days ago

Building the app is easy part but getting downloads is the real deal. One app store called Vshare (iappsbuzz.com/vshare) promotes new apps and bring them huge exposure for free

Gabo Mendoza
Guest
Gabo Mendoza
10 months 5 days ago

just what i need…Thanks a lot for this tutorials Chris !

CodeWithChris
Guest
CodeWithChris
10 months 1 day ago

+Gabo Mendoza glad you liked it!

Gabo Mendoza
Guest
Gabo Mendoza
10 months 5 days ago

just what i need…Thanks a lot for this tutorials Chris !

CodeWithChris
Guest
CodeWithChris
10 months 2 days ago

+Gabo Mendoza glad you liked it!

Silicon Info
Guest
Silicon Info
10 months 7 days ago

Really Excellent Post. Ive been looking for a tutorial like this. Very easy to understand. Thanks for this video very helpful.

Silicon Info
Guest
Silicon Info
10 months 7 days ago

Really Excellent Post. Ive been looking for a tutorial like this. Very easy to understand. Thanks for this video very helpful.

rgl168
Guest
rgl168
10 months 8 days ago

an other reason why MySQL is preferred: when writing internal apps in a corporate environment, there are restrictions where you can store the data. In these cases if you start storing corporate data on an external database (such as Firebase) you will most likely get "lectured" by the IT department.

rgl168
Guest
rgl168
10 months 8 days ago

an other reason why MySQL is preferred: when writing internal apps in a corporate environment, there are restrictions where you can store the data. In these cases if you start storing corporate data on an external database (such as Firebase) you will most likely get "lectured" by the IT department.

Jesse Zamudio
Guest
Jesse Zamudio
10 months 9 days ago

hey chris, i was wondering if you make apps for people. i would like to hire you to make my app. please message me if interested. z

Jesse Zamudio
Guest
Jesse Zamudio
10 months 9 days ago

hey chris, i was wondering if you make apps for people. i would like to hire you to make my app. please message me if interested. z

1 2 3
wpDiscuz