简体   繁体   中英

Getting error:Peer authentication failed while connecting octave to psql database

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

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

or see the link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM