JIRA 'pool-test-on-borrow' MySQL

After upgrade from JIRA 6.1.7 to JIRA 7.0.10 the support tool plugin reports:

"The database configuration 'pool-test-on-borrow' is not set as per our recommended settings."

I am using a MySQL Database.  My DB config does not have a setting for pool-test-on-borrow.

This document - https://confluence.atlassian.com/jirakb/health-check-database-configuration-792636748.html says:

This setting checks if a validation query will be sent when the connection is borrowed from the pool. The health check confirms that this value is set to false to prevent too many validation queries being sent to the database. Please set the pool-test-on-borrow values to false in the dbconfig.xml file, or see the Resolution section above for examples.

In the "Resolution" section in the document the sample dbconfig.xml for MySQL does not have a pool-test-on-borrow setting.  The sample dbconfig.xml for PostgreSQL does.


Should I put this into my dbconfig.xml for a MySQL database with a setting of false?

2 answers

If you don't have any errors or warnings in your Health Check you shouldn't put extra flags in your dbconfig.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you