Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

can`t connect db


Could you please help me.

I try to migrate Jira from H2 to MySQL.

I have the following programms:
- Atlassian Jira Project Management Software v7.11.2#711002
- mysql 5.7.24
- mysql-connector-java-8.0.13.jar
- java version "1.8.0_102"

After start Jira puts in log a message that it "cannot connect to database". It seems that there is an error in my dbconfig.xml (find the content of file below).
Could you please verify whether it is correct or not and, perhaps, provide me with correct one.

Thanx in advance!


<?xml version="1.0" encoding="UTF-8"?>







1 answer

0 votes



Could you connect from your server console to the database? 

mysql -u jira_user  jira

Than you can understand can you connect it? 



Gonchik Tsymzhitov


that's what I tried:


alex@jira:~# mysql -u jira_user jira -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.24 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

84 views 1 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you