jin5011 发表于 2016-11-20 11:46:01

Brew Install Postgresql on OS X Lion

引用

psql: could not connect to server: Permission denied
    Is the server running locally and accepting
    connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?


引用

createuser: could not connect to database postgres: could not connect to server: Permission denied
    Is the server running locally and accepting
    connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?


need brew bin path

#~/.bash_profile
PATH=/usr/local/bin:$PATH:$HOME/.rvm/bin:/usr/local/sbin:/usr/local/Cellar/
页: [1]
查看完整版本: Brew Install Postgresql on OS X Lion