摘要: 1 加载mysql驱动: class.forName("com.mysql.jdbc.Driver").newInstance(); 2 根据数据库路径url,账号,密码进行数据库连接: String url = "jdbc:mysql://localhost:3306/user_login"; c 阅读全文
posted @ 2017-06-08 19:58 O_ooo 阅读(6109) 评论(0) 推荐(0)