# Using phpmyadmin as a backend for ionic 3 app

**URL:** <https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515>\
**Category:** ionic-v3\
**Created:** [May 28, 2018, 8:19am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515 "2018-05-28T08:19:18Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammad77](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mohammad77](https://forum.ionicframework.com/u/mohammad77)\
**Post date:** [May 28, 2018, 8:19am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/1 "2018-05-28T08:19:18Z")

</div>

Hi everyone

As i am new to ionic so i developed an app and now want to use phpmyadmin as backend for this app. Can i use phpmyadmin for backend purposes?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![robinyo](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/robinyo/32/115964_2.png) [@robinyo](https://forum.ionicframework.com/u/robinyo)\
**Post date:** [May 28, 2018, 9:12am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/2 "2018-05-28T09:12:22Z")

</div>

> [@mohammad77](#):
>
> Can i use phpmyadmin for backend purposes?

Sure, you can use it as the admin front-end to your backend’s database.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [May 29, 2018, 9:17pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/3 "2018-05-29T21:17:03Z")

</div>

Wouldn’t this allow anybody with access to the app binary complete administrative access to the database?

---

<div class="post-metadata">

**Author:** ![OutdoorsBlogger](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/outdoorsblogger/32/107807_2.png) [@OutdoorsBlogger](https://forum.ionicframework.com/u/OutdoorsBlogger)\
**Post date:** [May 29, 2018, 10:00pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/4 "2018-05-29T22:00:20Z")

</div>

I don’t think so. phpMyAdmin is a web app that manages MySql databases. So you might use MySql as part of your backend, and you would use phpMyAdmin to setup tables, insert test data into the database, etc.

Maybe take a look at the below article, it’s written for iOS, but the server side stuff should be the same.

> **[How To Write A Simple PHP/MySQL Web Service for an iOS App](https://www.raywenderlich.com/2941/how-to-write-a-simple-phpmysql-web-service-for-an-ios-app)**
>
> A tutorial on how to write a simple PHP/MYSQL based web service that you can communicate with from an iOS app.

---

<div class="post-metadata">

**Author:** ![mohammad77](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mohammad77](https://forum.ionicframework.com/u/mohammad77)\
**Post date:** [May 30, 2018, 7:35am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/5 "2018-05-30T07:35:04Z")

</div>

I mean what you said, I just want to use phpmyadmin as mysql tools to create tables there. Then i want to create API and connect to ionic app for ios . @OutdoorsBlogger  
If you suggest me what api could be the best and simple one . As i am new to it and it will be my first try haha Thanks

---

<div class="post-metadata">

**Author:** ![mohammad77](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mohammad77](https://forum.ionicframework.com/u/mohammad77)\
**Post date:** [May 30, 2018, 7:37am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/6 "2018-05-30T07:37:15Z")

</div>

thanks @robinyo for your reply

---

<div class="post-metadata">

**Author:** ![OutdoorsBlogger](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/outdoorsblogger/32/107807_2.png) [@OutdoorsBlogger](https://forum.ionicframework.com/u/OutdoorsBlogger)\
**Post date:** [May 30, 2018, 1:52pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/7 "2018-05-30T13:52:06Z")

</div>

Of course. The easiest would be whatever server side language you already know, if any. I use PHP and MySQL 'cause I’m old and it’s well documented.

Ruby, Python, and many others are options too - though Node.js allows you to use javascript(ish) scripting on a server to build a backend. This may be easier since Angular is built on JS and the syntax may be more similar.

I’d like to think there are applications out there that create this stuff without knowing much coding, but I’m drawing a blank.

Best of luck!

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [May 30, 2018, 6:16pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/8 "2018-05-30T18:16:25Z")

</div>

> [@OutdoorsBlogger](#):
>
> Node.js allows you to use javascript(ish) scripting on a server to build a backend. This may be easier since Angular is built on JS and the syntax may be more similar.

Easier, perhaps, but personally, I consider having the front and back ends in the same language to be a _de_merit, because it encourages cutting corners of independence and ending up with too tightly coupled applications.

---

<div class="post-metadata">

**Author:** ![ricardofvallejo6969](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ricardofvallejo6969/32/131735_2.png) [@ricardofvallejo6969](https://forum.ionicframework.com/u/ricardofvallejo6969)\
**Post date:** [May 30, 2018, 6:38pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/9 "2018-05-30T18:38:23Z")

</div>

You can always use something like firebase firestore . It is very simple to use and will allow you to rapidly develop your app’s backend.

If you stick with your idea take a deep look at:

> **[Integrating a Backend with Ionic](https://www.joshmorony.com/integrating-a-backend-with-ionic/)**
>
> I often see questions like “How do I use PHP/MySQL in Ionic?” or “Does Ionic work with X backend?” – these are reasonable questions, but it indicates a big misconcepti…

---

<div class="post-metadata">

**Author:** ![mohammad77](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mohammad77](https://forum.ionicframework.com/u/mohammad77)\
**Post date:** [May 31, 2018, 2:00am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/10 "2018-05-31T02:00:21Z")

</div>

Yeah, you are right too but how about firebase security . Is it secured to use as backend ? By the way, my data is very small amount just want to use backend as weekly announcements options to be updated in weekly that is it . @ricardofvallejo6969

---

<div class="post-metadata">

**Author:** ![ricardofvallejo6969](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ricardofvallejo6969/32/131735_2.png) [@ricardofvallejo6969](https://forum.ionicframework.com/u/ricardofvallejo6969)\
**Post date:** [May 31, 2018, 8:46am UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/11 "2018-05-31T08:46:36Z")

</div>

Everything is SSL secured. It also gives you authentication methods without any effort. The price is based on documents fetched so if you only do this very often it should cost you about 0

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:34pm UTC](https://forum.ionicframework.com/t/using-phpmyadmin-as-a-backend-for-ionic-3-app/131515/12 "2021-07-19T21:34:03Z")

</div>

Closed on July 19, 2021, 9:34pm UTC


