Hello,
I am running the following:
MacOS High Sierra 10.13.6
PostgreSQL 12.2
pgAdmin 4
To see my qustion on Stack Overflow with picture:
I am trying to view databases with pgAdmin. After starting pgAdmin and successfully entering my "master password". I get the following error while trying to open up the only instance, in this case: "PostgeSQL 12".
I am getting this pgAdmin error:
"could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?"
Trying to start the server, I navigate too: /Library/PostgreSQL/12/bin
from bin, I ran: sudo -u postgres ./pg_ctl start -D /Library/PostgreSQL/12/data
pg_ctl: could not start server
When I ran the status command instead of start, it of course eluded to not running.
I mention all of this with the caveat that I did recently restore from a backup because I replaced my HDD with a SSD.
Please advise,
Thanks