摘要:
createdb: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?mountain lion下brew install postgresql后,每次启动都报这个错。解决办法:which psql然后回得到一个路径 阅读全文