Mac OSX Lion Postgres does not accept connections on /tmp/.s.PGSQL.5432

前端 未结 6 1869
无人共我
无人共我 2021-02-06 04:23

I\'m getting a common Mac OSX error for Homebrew installations of Postgres,

No such file or directory
Is the server running locally and accepting
connections on          


        
6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 04:43

    I had the same problem on Mac Serria. In Mac Serria you can find postmaster.pid inside /Users//Library/Application Support/Postgres/var-9.6 if you used GUI installer rather than homebrew.

    Once you delete this file then everything should work fine.

提交回复
热议问题