Firebase Or MySql?


I want to know Which DB is best compatible with Ionic 3 Applications? Firebase Or MySql?
I have experience of working with MySql for Ionic 3 App But not Firebase, So in terms of Pros & Cons I wanted to know which DB is better for Ionic 3 Apps.

Thanks in advance


MySQL is a server side database. Ionic apps mostly use it via REST APIs or other backend services.
Firebase Database is a database system with client libraries for Javascript (and native) that can be used in Ionic.

So it really depends on your requirements: Does the data have to live on your servers? Do you need stuff like real time updates? Do you need a backend application working on the same data?


I have no idea what features are going to be in application, but on thing I know that its going to be e-commerce app.