Here it is best to connect to mysql database, it is best to use JSON/SOAP/XML/PHP websevices to talk between your database and your application.
Connecting directly to the device with the reason database is a bad idea, you have to enable global external access for it to work. You can keep your data more secure if scripts are running on your server on the server.
One example of how to do this is to create PHP pages that export XML data as an export of mysql data, and use GET POST methods to publish data to PHP pages for writing to your database.
user319198
source share