How do I change the external database password

You can change the password that Bitbucket Data Center and Server uses to connect to an external database, however you don't do this from the Bitbucket Administration area – you must follow the procedure described below.

To change the password that Bitbucket uses when connecting to an external database:

  1. Stop Bitbucket. See Start and stop Bitbucket.
  2. Get your database administrator to change the password on your database.
  3. Go to your Set the home directory.

    Edit the bitbucket.properties file to change the line that looks like: 

    jdbc.password=MY_PASSWORD

    replacing MY_PASSWORD with your new database password.

  4. Restart Bitbucket. See Start and stop Bitbucket.
Last modified on Jul 26, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.