Ruby on Rails
Tuesday, August 7, 2018
Ya, I have tried with the login from the shell which I have given in the database.yml file.
On Tue, Aug 7, 2018 at 7:58 PM, Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
On Mon, Aug 6, 2018 at 10:59 PM, Piyush Chowhan
<peyushchowhan7@gmail.com> wrote:
> FATAL: Peer authentication failed for user "admin"
> Couldn't create database for {"adapter"=>"postgresql",
> "encoding"=>"unicode", "database"=>"bookingsaround_diy_development", > Any help
> "username"=>"admin", "password"=>"password"}
> rake aborted!
> PG::ConnectionBad: FATAL: Peer authentication failed for user "admin"
Have you tried logging in from a shell with those credentials?
Did you really intend to use peer auth on your system? Postgres
offers a variety of authentication schemes; "trust" might be more
appropriate for dev work, but up to you.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .CACmC4yAptYOP9F%2BSA-355% 3D1Xaioj1yrMOzy0vr314k4R0MUwSg %40mail.gmail.com
For more options, visit https://groups.google.com/d/optout .
Thanks & Regards
Piyush Chowhan
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACL5WfZph74YVLCpWDJ1ibwvhMukRkmKyO__3Vob4pnOLZKErg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment