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 Starting and stopping Bitbucket Server.
  2. Get your database administrator to change the password on your database.
  3. Go to your Bitbucket Server home directory.

    Edit the file to change the line that looks like: 


    replacing MY_PASSWORD with your new database password.

  4. Restart Bitbucket. See Starting and stopping Bitbucket Server.
Last modified on Feb 25, 2021

Was this helpful?

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