Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Database: JIRA couldn't connect to your database

Rona Schachter February 22, 2022

 I am trying yo upgrade from version 8.14.1 to 8.22.0 and I am getting this error. Followed these steps, all seems fine 
https://confluence.atlassian.com/jirakb/resolve-database-connection-errors-during-jira-server-startup-872262124.html

Database: JIRA couldn't connect to your database

JIRA failed to establish a connection to your database.
This could be because:

 

  • Your database isn't running
  • The configuration of your dbconfig.xml file is incorrect (user, password, or database URL etc.)
  • There is a network issue between JIRA and your database (e.g. firewall, database doesn't allow remote access etc.)

 

2 answers

0 votes
Dirk Ronsmans
Community Champion
February 22, 2022

Do you see anything more specific in the log file?

The splash screen doesn't really give you much info to work with but often the log file does.

Rona Schachter February 23, 2022

Where exactly can I find the log files?

Rona Schachter February 23, 2022

.

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2022

You told us what it could be, but have not given as any proof that any of those are false.

Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2022

Assuming you did follow the kba suggestions and assuming all of the checks were done right. What's the Jira version, db type and version, and jdbc connector?

Rona Schachter February 23, 2022

Jira Version 8.14.1

Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2022

And this database is remote, not on the same machine as Jira?

Can you take a look here and see if perhaps this might help https://www.digitalocean.com/community/tutorials/how-to-allow-remote-access-to-mysql

I'm thinking perhaps Jira is running, db is running, and you can ping them, but when Jira is trying to connect to the db it ignores it because it only listens to local connections.

Rona Schachter February 23, 2022

On the same machine, the DB is local

Suggest an answer

Log in or Sign up to answer