Home  >  Article  >  Database  >  Is there any senior who uses mysql to directly connect to android?

Is there any senior who uses mysql to directly connect to android?

WBOY
WBOYOriginal
2016-12-05 13:27:361120browse

mysqlandroid

I know, there is no such connection ~ unsafe ~
But I am a beginner ~ I want to try
I use the jdbc method to directly connect to mysql in the Android environment, and wrote a simple query example, using It's as. I loaded the driver, but as always reports an error that it can't find the driver.
Then I changed the Android environment of eclipse to connect to mysql. I just added the driver to the library. The program was not written, and an error was reported directly. I deleted the driver and ran the program again without error. So why, my driver There will be no problems when using the jdbc small example~~
Have any seniors tried to directly use android to connect to mysql~~~Suggestion~~~

Reply content:

http://blog.csdn.net/luzhenrong45/article/details/8933515

The first floor has already given a blog, give it a try. However, if there is such a need, first analyze whether it can be used in business. After all, Android itself also has a database

In this case, it is better to write a server to load mysql, and then use android to access the data of this server

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn