Published on June 23, 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

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

Notify of
avatar

Douwe de Vries
Guest
Douwe de Vries
3 days 14 hours ago

Hey Chris! If you want to create a clean database, take a look at database normalization. It says for example that you always need an id for each row. This will make it easier for later on in your projects.

Gabo Mendoza
Guest
Gabo Mendoza
1 month 12 days ago

Great Video Chris ! ready for the next

Dolora Myra
Guest
Dolora Myra
6 months 12 days ago

Thank-you for all you do. :o)

Mohaimen Hassan
Guest
Mohaimen Hassan
6 months 13 days ago

hello Chris.can I use my local phpmyadmin instead of bluehost ?, because I already have local server.thx for this tutorials..

Dolora Myra
Guest
Dolora Myra
6 months 13 days ago

Thank-you for all you do. :o)

Mohaimen Hassan
Guest
Mohaimen Hassan
6 months 13 days ago

hello Chris.can I use my local phpmyadmin instead of bluehost ?, because I already have local server.thx for this tutorials..

Richard McQueen
Guest
Richard McQueen
7 months 5 days ago

Hello Chris. I followed this series and I used MAMP (macOS apache mysql and php) and it is very easy to set. Hope it is useful. bye for now

Richard McQueen
Guest
Richard McQueen
7 months 6 days ago

Hello Chris. I followed this series and I used MAMP (macOS apache mysql and php) and it is very easy to set. Hope it is useful. bye for now

OmryVevo
Guest
OmryVevo
7 months 8 days ago

you can use XAMP to setup a local server, create db , hosting at no cost www.apachefriends.org/

OmryVevo
Guest
OmryVevo
7 months 9 days ago

you can use XAMP to setup a local server, create db , hosting at no cost www.apachefriends.org/

wpDiscuz