Postgres.app Could not start on port 5432

后端 未结 24 1352
暗喜
暗喜 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:17

    The same problem just happened to me. I had Postgres.app 9.2.4.1 running since a while. When I updated Mac OS X to 10.8.5, after the mandatory reboot it was not working anymore. I tried several things, including updating to 9.2.4.3 and neither after another reboot it was working.

    I had to open the file /Users/$USER/Library/Application Support/Postgres/var/postgresql.conf and to:

    1. uncomment line unix_socket_permissions = 0777
    2. uncomment and adapt line unix_socket_directory = '/tmp'

    After a restart, Postgres.app was running like a charm.

提交回复
热议问题