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

后端 未结 20 2172
时光说笑
时光说笑 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:24

    i make in word by doing this:

    dpkg-reconfigure locales
    

    and choose your preferred locales

    pg_createcluster 9.5 main --start
    

    (9.5 is my version of postgresql)

    /etc/init.d/postgresql start
    

    and then it word!

    sudo su - postgres
    psql
    

提交回复
热议问题