---
title: Changing configuration database passwords
description: Rotate the database passwords for the PingAccess configuration database.
component: pingaccess
version: 9.0
page_id: pingaccess:installing_and_uninstalling_pingaccess:pa_changing_config_database_passwords
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/installing_and_uninstalling_pingaccess/pa_changing_config_database_passwords.html
revdate: May 8, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
---

# Changing configuration database passwords

Rotate the database passwords for the PingAccess configuration database.

## About this task

The PingAccess configuration database is protected by randomly-generated passwords on startup. You can rotate these passwords for additional security.

## Steps

1. Open a terminal window and go to the `<PA_HOME>/bin` directory.

2. To ensure the `JAVA_HOME` environment variable is set correctly, run the `echo $JAVA_HOME` command.

3. To ensure the proper Java executable is in your path, run the `java -version` command.

   |   |                                                                                                                                       |
   | - | ------------------------------------------------------------------------------------------------------------------------------------- |
   |   | If this command returns a value indicating that the Java executable is not a supported version, correct this issue before continuing. |

4. Stop PingAccess.

5. Run the relevant rotation script for your environment:

   ### Choose from:

   * For Windows:`db-passwd-rotate.bat`

   * For Linux: `db-passwd-rotate.sh`

6. Restart PingAccess.
