It is strongly recommended that you don't do this.
See this post: Direct insert data in mysql data in android
... and this post: Why should a developer use web services instead of direct connections to a db?
Edit: The comment from @halfer is very informative, so quoting it here:
In practice, you will always need more security controls than MySQL will give you - hence the need for a server-side layer. If it gets slow then you can optimise your queries or upgrade your hardware (but don't optimise unless you need to).
1. Yes, it is possible. I use Delphi XE5 FMX and MyDAC from DEVART.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With