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

后端 未结 8 677
心在旅途
心在旅途 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:12

    Adding host: localhost was the magic for me

    development:
      adapter: postgresql
      database: database_name_here
      host: localhost
      username: user_name_here
    

提交回复
热议问题