<?xml version="1.0" encoding="UTF-8"?>
<c3p0-config>
<default-config>
<property name="initialPoolSize">1</property>
<property name="maxIdleTime">60</property>
<property name="maxPoolSize">1</property>
<property name="minPoolSize">1</property>
<property name="acquireRetryAttempts">0</property>
<property name="acquireRetryDelay">1000</property>
<property name="autoCommitOnClose">false</property>
<property name="breakAfterAcquireFailure">false</property>
<property name="idleConnectionTestPeriod">60</property>
<property name="maxStatements">0</property>
<property name="maxStatementsPerConnection">0</property>
</default-config>
<!-- This is my config for mysql-->
<named-config name="game_data">
<property name="driverClass">com.mysql.jdbc.Driver</property>
<property name="jdbcUrl">jdbc:mysql://127.0.0.1:3306/data?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf-8</property>
<property name="user">root</property>
<property name="password">123456</property>
</named-config>
<!-- This is my config for mysql-->
<named-config name="game_log">
<property name="driverClass">com.mysql.jdbc.Driver</property>
<property name="jdbcUrl">jdbc:mysql://127.0.0.1:3306/log?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=utf-8</property>
<property name="user">root</property>
<property name="password">123456</property>
</named-config>
</c3p0-config>