내가 단지레일 응용 프로그램을 사용 PostgreSQL은 PG : 오류
rails new myapp --database=postgresql
그럼 좀 정적 인 페이지를 생성하여 새로운 레일 응용 프로그램을 시작 보여줍니다 : 3000/static_pages/가정의 PG : 오류가 나타납니다 :
PG::Error
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
내가
012,351,641 아무 것도 변경하지 않은postgresql을 만드는 방법을 알려주세요.
귀하의 PostgreSQL 서버가 다운 또는 다른 포트에서 수신 것으로 보인다 체크 아웃 추천 할 것입니다. – vyegorov