Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo -u postgres psql
- postgres-# CREATE ROLE pguser LOGIN ENCRYPTED PASSWORD 'passwd' NOSUPERUSER NOINHERIT CREATEDB NOCREATEROLE;
- development:
- pool: 5
- timeout: 5000
- adapter: postgresql
- database: newdb
- username: pguser
- password: passwd
- $ rake db:setup
- FATAL: Peer authentication failed for user "pguser"
- Couldn't create database for {...}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement