Socket File “/var/pgsql_socket/.s.PGSQL.5432” Missing In Mountain Lion (OS X Server)

后端 未结 20 2112
时光说笑
时光说笑 2020-12-12 09:48

I just upgraded my MacMini Server from Lion Server to Mountain Lion using OS X Server. I am having the same problem with PostgreSQL that I did last year when I first instal

20条回答
  •  旧巷少年郎
    2020-12-12 10:23

    First remove the installed postgres:

    sudo apt-get purge postgr*
    sudo apt-get autoremove
    

    Then install 'synaptic':

    sudo apt-get install synaptic
    sudo apt-get update
    

    Then install Postgres

    sudo apt-get install postgresql postgresql-contrib
    

提交回复
热议问题