0

I am trying to connect to a psql database from octave but getting a peer authentication failed error.

error: FATAL: Peer authentication failed for user

error: PQ connection attempt failed

  • Which package are you using? octave-forge database? http://octave.sourceforge.net/database/index.html please also mention Octaves version – Andy Dec 22 '14 at 18:50

1 Answers1

0

check your pg_hba.conf file I think in that file there is no entry of your current user.

or see the link

Community
  • 1
  • 1
smn_onrocks
  • 1,282
  • 1
  • 18
  • 33