How to Change default password on PGSQL database

How to Change default password on PGSQL database

Please do follow the below steps which would assist you in changing the default Postgres password. 


1. Stop the application services.  


2. Please take a trimmed backup <OR> take a Snapshot of  the Server


3. Open Command Prompt with Admin Privileges


4. Navigate to <Drive>:\ManageEngine\SupportCenter\bin and execute the command stopdB.bat


5. Now execute the command "changeDBPassword.bat -p <old password> -P <new password>"

ExamplechangeDBPassword.bat -p scp@123 -P scp@1234



6. Make sure, you get the below message:





7. Now execute the command startdB.bat and start the application services.

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to change the database from MySQL/PostgreSQL to MSSQL

                      The steps mentioned below are applicable only if you migrate the DB from PgSQL to MSSQL. This means that the application server is going to remain the same. The data alone is going to be transferred to MSSQL DB from the existing PgSQL DB.    For ...
                    • How do I convert the database from PGSQL to MSSQL?

                      1. Stop ManageEngine ServiceDeskPlus – MSP service. 2. Take a backup of the existing data and configuration under PGSQL database by following the below steps. Open CMD as an administrator and execute  command to start the data backup. ...
                    • Connect to default PGSQL database remotely

                      1. To be able to reach the server remotely you have to add the following line into the file: ManageEngine/ServiceDeskPlus-MSP/pgsql/data/postgresql.conf:   listen_addresses = '*'   2. PostgreSQL, by default, refuses all connections it receives from ...
                    • Error While connecting default Postgres Database

                      If you are getting the below error while connecting the postgresDB , please follow the steps below : Error : psql: FATAL: no pg_hba.conf entry for host “::1”, user “postgres”, database “servicedesk”,SSL off Please open pg_hba.conf under [ServiceDesk ...
                    • How do I convert the database from MSSQL to PGSQL ?

                      Kindly plan to perform this process ONLY during Non Operational hours. You can do this process in the same server that you have SDP MSP installed. Step 1:  Stop the application and Take a backup of the existing data in the application. Navigate to ...