Based on that, why don’t you store your information either in an SQLite data base on the device or a text file containing a JSON structure (basically a text copy of) a Lua table. And give a sync/upload button at the end that would then connect to a remote server and transfer the data.
But I’m going to bring up one REALLY important point, that I think we’ve all stated without stating it.
No IT manager in their right mind is going to give open access to their database server from an outside client. That is an incredibly large security hole. “Lets prod port 3306 and see if MySQL responds? Lookie, it does.”. The average 14 year old has your entire database in just a few minutes.
The only sane way to do this is have some web based service using something like PHP as the intermediary between your app and the database. You’re PHP (or .net or asp or whatever) script talks to your database behind the firewall and you only have the web port (80 or 443 for https) open to connections. You manage what data gets passed in and your PHP scripts can scrub the data from the client before it ever gets close to the database.
[import]uid: 19626 topic_id: 29352 reply_id: 118102[/import]