摘要: String userName = "testuser"; String password = "testpass"; String url = "jdbc:mysql://localhost/test?user=" + userName + "&password=" + password; Class.forName ("com.mysql.jdbc.Driver").newInstance (); conn = DriverManager.getConnecti... 阅读全文
posted @ 2009-08-31 09:14 William Zhao 阅读(148) 评论(0) 推荐(0) 编辑