摘要:
1.Driver jdbc.properties: driver=com.mysql.jdbc.DriverjdbcUrl=jdbc:mysql://localhost:3306/mysqluser=rootpassword=1234 2.DriverManager 3.c3p0数据库连接池 c3p 阅读全文
摘要:
1.Class.forName("com.mysql.jdbc.Driver"); 2. DriverManager.registerDriver(new com.mysql.jdbc.Driver()); 3.System.setProperty("jdbc.drivers", "com.mysq 阅读全文