Last active
February 4, 2018 17:17
-
-
Save fjunior87/39bc6fc07c7b043e6d2aaa0a6dadbbb7 to your computer and use it in GitHub Desktop.
Carbon WSO2 Datasource config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<datasources-configuration> | |
<datasources> | |
<datasource> | |
<name>MySQL</name> | |
<description>My DataSource</description> | |
<jndiConfig> | |
<name>jdbc/MySQL</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:mysql://localhost:3306/db</url> | |
<username>root</username> | |
<password>root</password> | |
<driverClassName>com.mysql.jdbc.Driver</driverClassName> | |
<maxActive>50</maxActive> | |
<maxWait>60000</maxWait> | |
<testOnBorrow>true</testOnBorrow> | |
<validationQuery>SELECT 1</validationQuery> | |
<validationInterval>30000</validationInterval> | |
<defaultAutoCommit>false</defaultAutoCommit> | |
</configuration> | |
</definition> | |
</datasource> | |
</datasources> | |
</datasources-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment