- Plesk 12.5 for Linux
PostgreSQL database server is shown as not connected.
Following error is thrown while trying to access PostgreSQL server:
Error: The test connection to the database server has failed: pg_connect(): Unable to connect to PostgreSQL server: could not translate host name "localhost1" to address: Name or service not known
Incorrect database server configuration.
Go to Tools & Settings > Database Servers .
Open PostgreSQL server settings by clicking on its host name.
Change Host name or IP address value to the correct one.