简体   繁体   English

错误提示:将八度音阶连接到psql数据库时,对等身份验证失败

[英]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. 我正在尝试从八度连接到psql数据库,但出现对等身份验证失败的错误。

error: FATAL: Peer authentication failed for user 错误:致命:用户的对等身份验证失败

error: PQ connection attempt failed 错误:PQ连接尝试失败

check your pg_hba.conf file I think in that file there is no entry of your current user. 检查您的pg_hba.conf文件,我认为该文件中没有当前用户的条目。

or see the link 或查看链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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