摘要:
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 阅读全文