81,091
社区成员
发帖
与我相关
我的任务
分享
Class.forName("com.mysql.jdbc.Driver");// 加载Mysql数据驱动
String url="jdbc:mysql://localhost:3306/test1";
Connection conn=DriverManager.getConnection(url,"root","ywb");
Statement sm=conn.createStatement();