Re: postgresql connection failure

From: Date: Sat, 07 Aug 2021 15:28:15 +0000
Subject: Re: postgresql connection failure
Groups: php.general 
Request: Send a blank email to php-general+get-327607@lists.php.net to get a copy of this message
From: Ashley Sheridan Date: Fri, 6 Aug 2021 20:16:34 +0100 > Couple of seconds Googling the first error brings up a SO post where someone suggests editing your postgresql.conf file adding the line: listen_addresses = '*' Thanks; perhaps 'duckduckgo'ing is not as accurate ;) assuming the search engine query result referred to is somewhere in that 'stackoverflow' web site... Changed the configuration file to include: " listen_addresses = 'localhost' " For now, no password for database until php is learnt a bit more. So far, after this configuration file change, connection to the postgresql database continues to fail, but the previous error (sign-in to database via command terminal) is solved. The php web page continues to return: " Generic CPAC database Could not connect " Please, any other ideas to follow?

Attachment: [message/rfc822] php-general_327602.eml
« previous php.general (#327607) next »