Firemonkey Mobile Application and remote MySQL

大憨熊 提交于 2019-12-24 04:52:08

问题


I am using Delphi XE5 and I have created basic Firemonkey Mobile Application - Delphi

I would like to connect to a remote MySQL database. Which if any database conduit do I use? (FireDAC, DBExpress, etc)?


回答1:


You can use standard TSQLQueries, but as your mobile app needs to connect to a remote database, you will need to go via a DataSnap service (most probably hosted on an IIS server). The mobile device then connects to the DataSnap server which then connects to the database.

The DataSnap functions can return TDataSets which your app can then use.




回答2:


You can take a look at Devart DAC




回答3:


I'm using DBExpress since XE2, it works good, but i think now FireDAC is much bettter



来源:https://stackoverflow.com/questions/20357823/firemonkey-mobile-application-and-remote-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!