open:postgresql-could-not-connect-to-server

Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting

https://stackoverflow.com/questions/13410686/postgres-could-not-connect-to-server

snippet.python
Had a similar problem; a pid file was blocking postgres from starting up. To fix it:
 
rm /usr/local/var/postgres/postmaster.pid
 
and then all is well.

그리고 다시 시작

snippet.python
brew services restart postgresql

  • open/postgresql-could-not-connect-to-server.txt
  • 마지막으로 수정됨: 2020/06/02 09:25
  • 저자 127.0.0.1