skip to Main Content

How to make them access the same database?
I have a web and mobile application and I need them to access the msm sql file to do the crud

the problem is that one of them I stored in godaddy and the other one I’m thinking of storing in firebase what should I do?

2

Answers


  1. You should create an API in order to achieve that because there isnt any connection between your firebase database and your MySql database(If it is MySql database).Therefor you cant sync them or use both of them.I dont understand why do you want to use both of them because you can use one database and use api to access database from your web app and your application.Here is a link :
    what is an api

    What you are trying to do increases the complexity of your code because using two different databases and trying to sync them is nothing but an effortless try,And by doing that you have to think about different aspects of your apps functionality, for example if a user register in your web app he or she should be able to sign in your android app right away (which means your databases should always watch for new data and act fast) and your codes should be very optimal in order to achieve that.

    Login or Signup to reply.
  2. You can create API and sync both Android Database or you can sync with Socket without using API

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search