Android remote MySQL operations using a web service with php

后端 未结 2 1105
陌清茗
陌清茗 2020-12-20 04:46

I read some nice articles about how to connect to a remote MySQL database via Android.
Found some really interesting links here and here.
So the common way for getti

相关标签:
2条回答
  • 2020-12-20 05:24

    Premiumsoft's Navicat for MySQL comes with a HTTP tunnel (PHP script) you might be able to use. It basically provides a method for doing anything to a MySQL database over HTTP.

    I'd just make sure there are no licensing issues if you plan to distribute your app.

    0 讨论(0)
  • 2020-12-20 05:37

    I would recommend keeping anything database-specific hidden behind a web service.

    If you build a dependency on MySQL into your application and later find that you need to change databases, the entire installed base has to be cut over. Think about the logistics of accomplishing that for a few minutes and you'll start to realize it's a nightmare.

    0 讨论(0)
提交回复
热议问题