Class.forName("com.mysql.jdbc.Driver"); //加载MYSQL JDBC驱动程序 con = (Connection) DriverManager.getConnection( "jdbc:mysql://192.168.1.100:3306/db","username","password");
2024-03-22 19:56:16 693KB Android
1
Android实现的连接MySQL,实现了简单的增加和查询的操作,界面较为简陋。供大家参考,希望大家共同进步
1