Step 1: Retrieve Database Credentials from the FusionPBX server
SSH into FusionPBX
Log in to your FusionPBX server via SSH.
Open the FusionPBX Configuration File
sudo nano /etc/fusionpbx/config.conf
Locate the following information in the file and make note of it:
database.0.port = 5432...