config.xml配置
作者:互联网
适用于mysql5.7的config.xml文件
jdbcUrl可别写错了……
<?xml version="1.0" encoding="UTF-8"?>
<c3p0-config>
<named-config name="hua.project">
<property name="user">root</property>
<property name="password">123456</property>
<property name="driverClass">com.mysql.jdbc.Driver</property>
<property name="jdbcUrl">jdbc:mysql://localhost:3306/name?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>
标签:xml,10,jdbc,配置,useSSL,mysql,config 来源: https://www.cnblogs.com/diakla/p/16244704.html