datasources.xml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <data-sources>
  3. <data-source id="cat">
  4. <maximum-pool-size>3</maximum-pool-size>
  5. <connection-timeout>1s</connection-timeout>
  6. <idle-timeout>10m</idle-timeout>
  7. <statement-cache-size>1000</statement-cache-size>
  8. <properties>
  9. <driver>com.mysql.jdbc.Driver</driver>
  10. <url><![CDATA[jdbc:mysql://172.19.103.50:3306/healtharchive]]></url>
  11. <user>chenweishan</user>
  12. <password>chenweishan</password>
  13. <connectionProperties><![CDATA[useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&socketTimeout=120000]]></connectionProperties>
  14. </properties>
  15. </data-source>
  16. <data-source id="app">
  17. <maximum-pool-size>3</maximum-pool-size>
  18. <connection-timeout>1s</connection-timeout>
  19. <idle-timeout>10m</idle-timeout>
  20. <statement-cache-size>1000</statement-cache-size>
  21. <properties>
  22. <driver>com.mysql.jdbc.Driver</driver>
  23. <url><![CDATA[jdbc:mysql://172.19.103.50:3306/app]]></url>
  24. <user>chenweishan</user>
  25. <password>chenweishan</password>
  26. <connectionProperties><![CDATA[useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&socketTimeout=120000]]></connectionProperties>
  27. </properties>
  28. </data-source>
  29. </data-sources>