Postgres.app Could not start on port 5432

后端 未结 24 1338
暗喜
暗喜 2021-01-29 22:24

I\'m using http://postgresapp.com. In the menubar it gives the error \" Could not start on port 5432.\" Similarly if I try to start the server from the terminal, I get:

24条回答
  •  执笔经年
    2021-01-29 22:56

    I resolved this problem by

    1. Identifying what was running on port 5432 by using "netstat" in the CL, which was postgreSQL not Postgres
    2. I located the directory that contained postgreSQL, which was root/Library/PostgreSQL
    3. I ensured an instants of the application wasn't running via Activity Monitor
    4. Then I deleted the folder and rebooted! Everything was fine!

提交回复
热议问题