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

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?

1 vote
Colin Goudie Community Champion Apr 25, 2013

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

474 views 1 18
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