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
  • Last modified: 2024/10/05 06:15
  • by 127.0.0.1