1. To know the database server information, open command prompt on the server, change the directory to <sdp_home>\bin and invoke the batch file changeDBServer.bat (or changeDBServer.sh) to see the database server information. Note the server location, port and database name.
2. Connect to SQL Server Management Studio (SSMS) with the database details, right click on the database that you have configured and click on "New Query".
For PostgreSQL database:
1. To know the database server information, open command prompt on the server, change the directory to MangeEngine\ServiceDesk\bin and invoke the changeDBServer.bat (or changeDBServer.sh). Note the port and the database name.
2. To know the password of sdpadmin user, invoke the batch file decryptPostgresPassword.bat (or decryptPostgresPassword.sh) and enter the name sdpadmin
(For environments below SDP version 10.5 the password is sdp@123)
3. Now change the directory to <sdp_home>\pgsql\bin and run the below (change port and database name as required) and enter the password when promted.
psql.exe -U sdpadmin -p 65432 -d servicedesk -h 127.0.0.1
For MySQL database
Open command prompt on the application server and change the directory to ManageEngine\ServiceDesk\mysql\bin>
use the below command to the connect to the database
mysql.exe -u root -P 33366 servicedesk
For older versions:
For environments running version 9.4
(To know the database used, check the file named databaseinfo under [SDP-Home]/conf folder)
For environments running version 9.3 and below
(To know the database used, check the file named databaseinfo under [SDP-Home]/server/default/conf folder)