<?xml version="1.0" encoding="UTF-8"?>
<Context path="/hulinhai" docBase="hulinhai" debug="5" reloadable="true" crossContext="true">
<Resource name="jdbc/hulinhai"
type="javax.sql.DataSource"
driverClassName="org.gjt.mm.mysql.Driver"
username=" "
password=" "
url="jdbc:mysql://localhost:3306/hulinhai?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
maxActive="10"
maxIdle="5"
validationQuery="SELECT 1"
testOnBorrow="true"
testWhileIdle="true"
timeBetweenEvictionRunsMillis="10000"
minEvictableIdleTimeMillis="60000" />
</Context>
tomcat 网站DBCP数据源配置
最新推荐文章于 2024-02-02 17:19:12 发布