Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Question

Question Protected by Community Bot

ImI'm getting the error:

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf, my database.yml, and a dump of the full trace.

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l.

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf, my database.yml, and a dump of the full trace.

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

I'm getting the error:

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf, my database.yml, and a dump of the full trace.

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l.

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf: http://pastebin.com/4V1sMS01pg_hba.conf and, mydatabase.yml: http://pastebin.com/mS0G6Srpdatabase.yml

And, and a dump of the full trace: http://pastebin.com/bXg1Pkr5dump of the full trace .

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf: http://pastebin.com/4V1sMS01 and mydatabase.yml: http://pastebin.com/mS0G6Srp

And a dump of the full trace: http://pastebin.com/bXg1Pkr5

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf , my database.yml , and a dump of the full trace .

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf: http://pastebin.com/4V1sMS01 and my database.yml: http://pastebin.com/mS0G6Srp

And a dump of the full trace: http://pastebin.com/bXg1Pkr5

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error) Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf: http://pastebin.com/4V1sMS01 and my database.yml: http://pastebin.com/mS0G6Srp

And a dump of the full trace: http://pastebin.com/bXg1Pkr5

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

Im getting

FATAL: Peer authentication failed for user "postgres"

when I try to make postgres work with Rails.

Here's my pg_hba.conf: http://pastebin.com/4V1sMS01 and my database.yml: http://pastebin.com/mS0G6Srp

And a dump of the full trace: http://pastebin.com/bXg1Pkr5

I changed authentication to md5 in pg_hba and tried different things, but none seem to work.

I also tried creating a new user and database as per Rails: FATAL - Peer authentication failed for user (PG::Error)

But they don't show up on pgadmin or even when I run sudo -u postgres psql -l

Any idea where I'm going wrong?

added 7 characters in body
Source Link
Freedom_Ben
  • 12.1k
  • 10
  • 80
  • 94
Loading
added 10 characters in body
Source Link
juliomalegria
  • 25k
  • 14
  • 77
  • 89
Loading
Source Link
orderof1
  • 12.8k
  • 4
  • 22
  • 19
Loading
lang-sql

AltStyle によって変換されたページ (->オリジナル) /