Re: postgresql connection failure
[email protected] (ourdiaspora)
| Newsgroups | php.general |
|---|---|
| Message-ID | <KH7qngMfMTosk005nmNRVxf-tSYdpEOym7CBzjeD3L-Z8jVosEBLrxGa5H3a-VE5mLRtFXtpN-p8TGLnd2GRqoVWr6tgmknT7AdtGVUxmh8=@protonmail.com> |
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?
php-general_327602.eml
(message/rfc822, 3 KB) - not displayed