当前位置:Gxlcms > 数据库问题 > pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”

pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”

时间:2021-07-01 10:21:17 帮助过:45人阅读

against your Linux username. It should work if you‘re logged in as postgres. You probably don‘t want to hit that md5 rule in pg_hba, as the postgres database user generally doesn‘t have a password. –

 

The Problem you have is, that if u dont define the Host, your system will decide.

explicit add "-h localhost", this will fix it

pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”

标签:hba   md5   hat   linu   failed   round   arch   ica   decide   

人气教程排行