Published on June 29, 2017 by CodeWithChris

Xcode Project Code:
codewithchris.lpages.co/yt-mysql-05-xcode-parsing-json/

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

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

Notify of
avatar

hotmandead1
Guest
hotmandead1
15 days 6 hours ago

Great Video and one of the best example of how to use networking in iOS ,Love the video series !

DJ Krazay
Guest
DJ Krazay
21 days 12 hours ago

I only get back one element from the record of 3, because I had to and another just to test but only get one record back, what do you think I am doing wrong? Edited : Found my problem, watch them curly brackets! Thanks Chris….this help me wrap my head around building an app better than most have tried! 🙂

CodeWithChris
Guest
CodeWithChris
21 days 2 hours ago

Curly brackets are like those Pacman monster that track you down until you make them right!

Arsalan Zahedi Rad
Guest
Arsalan Zahedi Rad
2 months 23 days ago

You explain everyThing wonderful. Not Fast! Not Slow!… I couldn't find someone explain things Like You yet about Xcode… I am developing android application for about 1 year but new to Swift & Xcode. The best References i found until now is Your Videos and Apple Developer Website. Every other videos i watched on YouTube has issues, Some Of them cant speak english very well and their accent make me mad and some other are speaking very fast and some to slow and just writing the code without explaining anything.Good Luck & Best Wishes!!!

W Tam
Guest
W Tam
4 months 28 days ago

Chris, why your tutorial code here different form the one that's you posted on your site? little confusing for beginners , is it 2 different topic??

Ahsan
Guest
Ahsan
5 months 18 days ago

do we need any Mysql connector ?? Like JDBC for android to connect to the database server.

Marc Chelnik
Guest
Marc Chelnik
6 months 19 days ago

Chris – Very good tutorial! I needed the review. Plus it was a good explanation of delegates and protocols.

Julio Ryuuzaki
Guest
Julio Ryuuzaki
6 months 29 days ago

Where is part 3 and part 4 in this Playlist?

CodeWithChris
Guest
CodeWithChris
6 months 29 days ago

Thank you! I didn't even know that was missing. I've fixed it now. Thanks!

Julio Ryuuzaki
Guest
Julio Ryuuzaki
6 months 30 days ago

Where is part 3 and part 4 in this Playlist?

CodeWithChris
Guest
CodeWithChris
6 months 30 days ago

Thank you! I didn't even know that was missing. I've fixed it now. Thanks!

I am uncomfortable
Guest
I am uncomfortable
7 months 10 hours ago

Hey Chris please upload part 3 and 4 they're missing

cool cat like looking thing
Guest
cool cat like looking thing
7 months 18 hours ago

Hey Chris please upload part 3 and 4 they're missing

wpDiscuz