Why not connect a database like MySQL or SQL Server (Big God) on Android or iOS?

Source: Internet
Author: User

Many students have the idea of directly connected to these databases, if I say the following two questions you still want to connect directly, then I can't



A database is the most important part of a server, the most vulnerable part, and the most sensitive part.


If the direct connection will cause the following problems

1. Security issues, your connection database account password exposed to the client, so it is easy to get caught, whether it is the anti-compilation of Android, or capture the package, it is easy to obtain this information, and if the need for direct connection, the database is bound to listen to 0.0.0.0, so that anyone can try your database, What a horrible thing.


2. Performance issues, we know that a database of concurrent connection is very low, MySQL default configuration only 100, directly connected to the database, resulting in no use of any cache, such as Memcache,


There should be other questions, let's all add up.

Why not connect a database like MySQL or SQL Server (Big God) on Android or iOS?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.