0
저는 osx에 있는데 사용자 postgresql을 생성하는 데 문제가 있습니다. 나는 명령을 쓸 때 : 나는 다음과 같은 오류가postgresql osx에 사용자를 만드십시오
createuser myapp -s
:
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"?
그냥 PATH 디렉토리 문제인지 모르겠어요합니다. 내 나쁜 영어에 대한 귀하의 도움을 http://tammersaleh.com/posts/installing-postgresql-for-rails-3-1-on-lion
감사와 죄송합니다 :
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
나는이 솔루션의 PostgreSQL를 설치했습니다.