当前位置:网站首页>JDBC database connection pool usage problem

JDBC database connection pool usage problem

2022-07-07 06:53:00 CSDN Q & A

Properties pro = new Properties();pro.load(new FileInputStream("C:/Users/Administrator/IdeaProjects/JDBC/out/production/jdbc-name/druid.properties"));DataSource dataSource = DruidDataSourceFactory.createDataSource(pro);Connection con = dataSource.getConnection();

Report errors

img


This is a mysql Drive and druid edition

img


The configuration file

img

原网站

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202206301037179215.html