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

Accepted Answer
1 vote

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,503 views 2 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