Home >Database >Mysql Tutorial >Is there any senior who uses mysql to directly connect to android?
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~~~
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