Rails: FATAL - Peer authentication failed for user (PG::Error)

后端 未结 8 665
心在旅途
心在旅途 2020-12-04 04:22

I am running my development on Ubuntu 11.10, and RubyMine

Here is my development settings for the database.yml: which RubyMine created for me

develop         


        
8条回答
  •  庸人自扰
    2020-12-04 05:25

    You can go to your /var/lib/pgsql/data/pg_hba.conf file and add trust in place of Ident It worked for me.

    local   all all trust
    host    all 127.0.0.1/32    trust
    

    For further details refer to this issue Ident authentication failed for user

提交回复
热议问题