Change Default Postgres Database Password

Change Default Postgres Database Password

For Windows:  

  1. Shut down ManageEngine AssetExplorer.
  2. Take a backup of the application or snapshot of the server.
  3. Open command prompt with admin privileges.
  4. Go to [AE-Home]\bin directory and execute the command: stopDB.bat
  5. Execute the command: changeDBPassword.bat -p <old password> -P <new password>. The following message is displayed:
  6. Execute the following command to start the application services: startDB.bat   

For Linux:  

  1. Shut down ManageEngine AssetExplorer.
  2. Take a backup of the application or snapshot of the server.
  3. Go to [AE-Home]/bin and execute the command: sh stopDB.sh 
  4. Execute the following command: sh changeDBPassword.sh -p <old password> -P <new password>
  5. Execute the following command to start the application services: sh startDB.sh