mysql,oracle驱动加载

dataSource.setUrl("jdbc:mysql://localhost:3306/springboot");
dataSource.setUsername("root");
dataSource.setPassword("1111111");
dataSource.setDriverClassName("com.mysql.jdbc.Driver");

jdbc.driver=oracle.jdbc.OracleDriver
jdbc.url=jdbc:oracle:thin:@192.168.8.98/vpdb01
jdbc.username=fkdb
jdbc.password=fkfkdbdb

你可能感兴趣的:(数据库)