내가 무슨 짓을 : FATAL : 피어 인증은 사용자 "가게"실패
sudo -u postgres psql
CREATE ROLE shop CREATEDB LOGIN PASSWORD 'kurt1245';
는 그럼 난 내 비밀 번호를 작성하는
database.yml
을 편집, GitHub의 (페이지를 사용하는 레일 응용 프로그램),
bundle install
에서 저장소를 복제 지금
rake db:create
(또는
setup
및
migrate
)이 작동하지 않습니다.
database.yml
development: adapter: postgresql encoding: unicode database: shop_development pool: 5 username: shop password: kurt1245 test: adapter: postgresql encoding: unicode database: shop_test pool: 5 username: shop password: kurt1245
중복의 : http://stackoverflow.com/questions/18664074/getting-error-peer-authentication-failed-for-user-postgres-when-trying-to-ge – Loqman