It is possible to use web api to connect my app with mysql database, from an external server

how to use api web to connect my app with mysql database from an external server?
And if I do, will I violate google play’s policy?

A post was merged into an existing topic: Any tips for working with the WebAPI component?