Running as part of Jira standalone installation and getting comm link failure to MySQL database.

Error is:

Attempting to connect to the MySQL database server...

Could not connect to the DB: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

I've modified the dbconfig.xml in $JIRA_HOME per your recommendations on your site and still get the error. I've also tried different ports for MySQL and still the same error. Help please!

Contents of dbconfig.xml:









<password> jira</password>

<pool-min-size> 20</pool-min-size>

<pool-max-size> 20</pool-max-size>

<pool-max-wait> 30000</pool-max-wait>

<validation-query>select 1</validation-query>



<pool-max-idle> 20</pool-max-idle>

<pool-remove-abandoned> true</pool-remove-abandoned>

<pool-remove-abandoned-timeout> 300</pool-remove-abandoned-timeout>

<pool-test-while-idle> true</pool-test-while-idle>




2 answers

1 accepted

This widget could not be displayed.

Reinstalled MySQL and resolvd.

This widget could not be displayed.

Well, MySQL cannot be contacted. However, this is just a generic exception wrapped on the real cause. Please check the logs, and look for "caused by" stach trace. That should tell you what's wrong.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

151 views 16 7
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