在android模拟器中加载mysql驱动程序 [英] load the mysql driver in android emulator
本文介绍了在android模拟器中加载mysql驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在android仿真器中加载mysql服务器
how to load the mysql server in android emulator
即
Class.forName( com.mysql.jdbc.Driver)
i.e Class.forName("com.mysql.jdbc.Driver")
我在com.mysql.jdbc.Drive中遇到异常java.land.ClassNotFoundException
i got the exception java.land.ClassNotFoundException in com.mysql.jdbc.Drive
请回复我。
推荐答案
这假定MySQL可从Internet公开获得,但这绝不是好主意。
This assumes MySQL is publicly available from internet, but it is never good idea .
设置公共WebService并从移动应用程序连接到它。
Setup public WebService and connect to it from mobile application.
这篇关于在android模拟器中加载mysql驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文