Ruby on Rails Wednesday, August 8, 2018

Piyush,

As Mike suggested, can you set host,port setting  explicitly  in database.yml and 
can you re run rake db:create

On Tue 7 Aug, 2018, 8:15 PM Piyush Chowhan, <peyushchowhan7@gmail.com> wrote:
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",
> "username"=>"admin", "password"=>"password"}
> rake aborted!
> PG::ConnectionBad: FATAL:  Peer authentication failed for user "admin"

> Any help

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.

--
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/CABRbsVnnVMHkh2hURyVx%2BNKuK7gh2B5Hnv0i9dh9wJAHrTvMuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment