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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 views 0 5
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