The login failed.

Tshepo April 25, 2013

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
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 25, 2013

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
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.
April 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

Sameera Shaakunthala [inactive]
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.
April 25, 2013

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.

0 votes
Sameera Shaakunthala [inactive]
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.
April 25, 2013

What's the type of database?

(Oracle/ MySQL/ Default hsqldb)

Suggest an answer

Log in or Sign up to answer