摘要: 1、mysql driver = "com.mysql.jdbc.Driver"; url = "jdbc:mysql://localhost:3306/数据库名"; con =DriverManager.getConnection(url,muser,password);2、Oracle driver = “oracle.jdbc.driver.OracleDriver”; usl = "jdbc:oracle:thin:@localhost:1521:数据库服务名";con =DriverManager.getConnection 阅读全文
posted @ 2013-09-18 20:12 iwwenbo 阅读(182) 评论(0) 推荐(0) 编辑