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

后端 未结 20 2078
时光说笑
时光说笑 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:37
    apt-get install postgres-xc-client
    apt-get install postgres-xc
    
    0 讨论(0)
  • 2020-12-12 10:38

    Open 'postgresql.conf' in you favourite editor. Look for the variable 'unix_socket_directories', it will most likely look like this:

    unix_socket_directories = '/private/tmp/'
    

    Change the line to this:

    unix_socket_directories = '/var/pgsql_socket/'
    

    Note if you want the socket files in more than one directory comma separate them.

    0 讨论(0)
提交回复
热议问题