Forums

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

Database: JIRA couldn't connect to your database

Jean Paul June 11, 2020

Hello,

after upgrading my Jira Software to 8.9.0 I'm facing withe the problem that Jira cannot connect to my Mysql Database. Although it is the same database with the same configuration, that worked before.

Please can you help me.

Thanks

1 answer

0 votes
Nic Brough -Adaptavist-
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.
June 11, 2020

You'll need to read the logs to see what the connection error is.

Jean Paul June 11, 2020

JIRA-Bootstrap FATAL      [c.a.jira.startup.JiraStartupLogger] Startup check failed. Jira will be locked. 

Nic Brough -Adaptavist-
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.
June 11, 2020

The last line of the error is not helpful.  You need to read the log for the root cause error, not the information about the action taken as a result.

Jean Paul June 11, 2020

04-Jun-2020 11:36:05.376 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
04-Jun-2020 11:36:05.395 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Jun-2020 11:36:05.423 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 10288 ms
2020-06-04 11:36:05,582+0000 JIRA-Bootstrap INFO [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/jira/dbconfig.xml
2020-06-04 11:36:05,673+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Trying to get encrypted password from xml and decrypt it
2020-06-04 11:36:05,677+0000 JIRA-Bootstrap INFO [c.a.j.config.database.DatabaseConfigHandler] Database password decryption not performed.
2020-06-04 11:36:06,893+0000 JIRA-Bootstrap INFO [c.a.jira.startup.JiraStartupLogger] Running Jira startup checks.
2020-06-04 11:36:06,894+0000 JIRA-Bootstrap FATAL [c.a.jira.startup.JiraStartupLogger] Startup check failed. Jira will be locked.

Nic Brough -Adaptavist-
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.
June 11, 2020

That usually means the dbconfig.xml file is incorrect or damaged.

But I'd also want to check the catalina.out to see if there is more in there.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events