c3p0config.xml

编程

c3p0-config.xml

<?xml version="1.0" encoding="UTF-8"?>

<c3p0-config>

<named-config name="mvcapp">

<property name="user">root</property>

<property name="password">123456</property>

<property name="driverClass">com.mysql.cj.jdbc.Driver</property>

<property name="jdbcUrl">jdbc:mysql:///atguigu?serverTimezone=GMT%2B8&amp;characterEncoding=utf8&amp;useSSL=false</property>

<property name="acquireIncrement">5</property>

<property name="initialPoolSize">10</property>

<property name="minPoolSize">10</property>

<property name="maxPoolSize">50</property>

<property name="maxStatements">20</property>

<property name="maxStatementsPerConnection">5</property>

</named-config>

</c3p0-config>

 

以上是 c3p0config.xml 的全部内容, 来源链接: utcz.com/z/512226.html

回到顶部