Search Postgresql Archives

Could Not Connect To Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
https://stackoverflow.com/questions/61353989/pgadmin-could-not-connect-to-server-connection-refused
 

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux