zeus/conf/local/datasources.xml
2015-03-10 21:41:56 +08:00

17 lines
727 B
XML

<?xml version="1.0" encoding="utf-8"?>
<data-sources>
<data-source id="zeus">
<maximum-pool-size>3</maximum-pool-size>
<connection-timeout>1s</connection-timeout>
<idle-timeout>1m</idle-timeout>
<statement-cache-size>1000</statement-cache-size>
<properties>
<driver>com.mysql.jdbc.Driver</driver>
<url><![CDATA[jdbc:mysql://localhost:3306/zeus]]></url>
<user>root</user>
<password>~{e4d4da51d8c450d0d1c03948b6670}</password>
<connectionProperties>
<![CDATA[useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true]]></connectionProperties>
</properties>
</data-source>
</data-sources>