Published on July 7, 2017 by CodeWithChris

Xcode Project Code:
codewithchris.lpages.co/yt-mysql-07-xcode-mapview/

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

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

Notify of
avatar

John Yngson
Guest
John Yngson
2 months 13 days ago

Maybe a little sample of login and registration IOS App and connected to MYSQL database.. Thank you! 🙂

John Yngson
Guest
John Yngson
2 months 13 days ago

How about the session and cookies? is it possible to stored them in ios app? Thanks

John Yngson
Guest
John Yngson
2 months 13 days ago

Nice Tutorial… By the way.. is it the same procedure when you SELECT, INSERT and UPDATE database? Thanks

Gabo Mendoza
Guest
Gabo Mendoza
3 months 12 days ago

Great Tutorial Chris ! When the tutorial with Firebase?

ali atighehchi
Guest
ali atighehchi
7 months 2 days ago

i had added an image to the cel and i had the cell refresh with cell.setNeedsLayout() //invalidate current layoutcell.layoutIfNeeded() //update immediatelyand since i added DispatchQueue.main.async { self.delegate?.itemsDownloaded(locations: locArray) }the images do not show until the cell is clicked. It dose not refresh anymore. where should i refresh the images

ali atighehchi
Guest
ali atighehchi
7 months 2 days ago

i had added an image to the cel and i had the cell refresh with cell.setNeedsLayout() //invalidate current layoutcell.layoutIfNeeded() //update immediatelyand since i added DispatchQueue.main.async { self.delegate?.itemsDownloaded(locations: locArray) }the images do not show until the cell is clicked. It dose not refresh anymore. where should i refresh the images

venkat prabhu
Guest
venkat prabhu
8 months 6 days ago

Hi, Chris Can you make a video on RESTFUL Web service ?

venkat prabhu
Guest
venkat prabhu
8 months 6 days ago

Hi, Chris Can you make a video on RESTFUL Web service ?

Abhishek Chaudhary
Guest
Abhishek Chaudhary
9 months 12 days ago

Thank you Thank you Chris !!!! Your Videos are really helpful , I watch your every video and try to implement them.Just asking if you can make a separate video on "Understanding Core Data and using its features." It would be really helpfull for ios developers.

A. ALOMARI
Guest
A. ALOMARI
9 months 13 days ago

Good tutorialsThank you

wpDiscuz