Tomcat and External MySQL Datasource Example

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Add the DataSource Resource tag inside the Context tags of your context descriptor in the server.xml file located under <bamboo-installation-directory>/conf:

 

<Context .... >
<Resource name="jdbc/bamboo" auth="Container" type="javax.sql.DataSource"
        username="yourusername"
         password="yourpassword"
         driverClassName="com.mysql.jdbc.Driver"
         url="jdbc:mysql://localhost:3306/bamboo?autoReconnect=true"
         maxActive="100"
         maxIdle="7"
         validationQuery="Select 1" />
</Context>
Last modified on Sep 28, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.