How to connect to DB - 8121

How to connect to DB - 8121

Connect to PostgreSQL Server in Windows:

Go to [SupportCenter Plus Home] \ pgsql \ bin in the command prompt.

-> C:\> cd ManageEngine\SupportCenter\pgsql\bin

Enter the command: psql.exe -U postgres -p 65432 -h 127.0.0.1 supportcenter

-> C:\> cd ManageEngine\SupportCenter\pgsql\bin>psql.exe -U postgres -p 65432 -h 127.0.0.1 supportcenter

SupportCenter is the name of the database. 65432 is the port on which SupportCenter Plus database runs. SupportCenter Plus uses postgres account to connect to the database and does not use any password. You can connect to PostgreSQL database only from the server console.



Connect to PostgreSQL Server in Linux: 

  1. Install the PostgreSQL client which supports your Linux version.

  2. Once this is accomplished, make sure that the command "psql" is in path. (Most often, psql should be under path, if not, you may add the complete path to psql command under PATH variable in the bashrc file.

  3. Go to [SupportCenter Plus Home] \ pgsql \ bin in the command prompt.

# cd [SupportCenter Plus Home]/pgsql/bin

  1. Enter the command: # ./psql -U postgres -h localhost -p 65432 supportcenter

pgsql-linux

 

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to connect to external postgres(external DB)

                      1. From the postgres installed path navigate to bin folder and open a command prompt 2. Execute the command --> pg_ctl -D "C:\Program Files\PostgreSQL\10\data" start (Postgres server gets started) 3. Connect to DB using the command-->psql -U postgres ...
                    • How to connect to the ServiceDesk database?

                      Open command prompt on the server and change the directory to MangeEngine\ServiceDesk\bin, invoke the batch file 'changeDBServer.bat' For MSSQL database  Connect to the query analyzer of the SQL server and execute the queries. For PostgreSQL database ...
                    • How to connect to the AssetExplorer database?

                      To find the database connected to your installation, open Command Prompt with elevated permission, navigate to [AE-Home]\bin directory and invoke the batch file 'changeDBServer.bat'. [AE-Home] is Drive:\ManageEngine\AssetExplorer\ directory. ...
                    • How to Connect to SDP MSP Database ?

                      1. In-Built POSTGRES (PGSQL) : Open a CMD prompt as an administrator and navigate to ManageEngine\ServiceDeskPlus-MSP\pgsql\bin and run the below command From SDP MSP build 10538 , please use the below method. psql -h localhost -U sdpadmin -p 65432 ...
                    • No DB bundled with the application error in the logs while starting from windows services

                      When not able to start the application from the windows services and it runs in the CMD fine without any issues. After checking the logs you will find the error trace as "NO DB BUNDLED WITH THE APPLICATION". If the database is MSSQL please follow the ...