The login failed.

Hi, Just upgraded my jira 5.1 to 5.2 and i get this error on the logs:

2013-04-26 11:56:05,330 main ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA.

com.atlassian.jira.exception.DataAccessException: java.sql.SQLException: Cannot open database "jiradb" requested by the login. The login failed.

3 answers

1 accepted

1 vote
Accepted answer

Your database settings are incorrect.

How did you do the change? What documentation did you follow? What config files did you touch? Can you check them for the right data?

The error is telling you what is wrong. Your dbconfig.xml in JIRA's data/home directory is telling JIRA to connecto to a database called jiradb with some username/password. It appears the username or password is wrong

Perhaps he could be running on HSQLDB. The error does not indicate ORA or any DBMS specific error code.

As I remember when my instance was down due to this reason, there was an ORA-xxxxx number.

What's the type of database?

(Oracle/ MySQL/ Default hsqldb)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,180 views 5 10
Read article

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