How do I update the database password?

Tuan Nguyen May 13, 2015

My JIRA instance was configured to use a JNDI database name.  When the database password needs to be changed, how do I get JIRA to use the new password?

2 answers

3 votes
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2015

Hi Tuan,

Just to confirm. The database connection string and password can be located in 2 places.

If you are using the JDBC connection, you probably have those in the Confluence.cfg.xml (in confluence) or dbconfig.xml file (in JIRA).

If you are using the datasource method, then the configuration should be located in the installation_folder/conf/server.xml file.

Cheers,

Rodrigo

1 vote
Arthur Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2015

Hi Tuan,

You can use the JIRA Configuration Tool, as described on this link.

 

-- Arthur Gonçalves

Tuan Nguyen May 13, 2015

Thanks.  I tried the configuration tool and the error it gives is: "Your current database configuration uses JNDI, and this configuration tool does not support that." I think I figured it out.  I have to change the password in Tomcat's <Resource> config in the server.xml file.

Suggest an answer

Log in or Sign up to answer