zeus/datasources.xml

17 lines
681 B
XML
Raw Normal View History

2015-03-03 20:14:43 +08:00
<?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>