Postgres.app Could not start on port 5432

后端 未结 24 1099
暗喜
暗喜 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 23:02

    This command is a one-liner that instantly kills all PostgresSQL processes.

    sudo kill -kill $(sudo lsof -t -i :5432)
    

    This fixed all my problems on Mac OSX Mojave 10.14.1.

提交回复
热议问题