尝试使用PG转储,但密码不起作用
我一直在尝试使用pg_dump,但我一直在遇到错误:
C:\Users\ojadi>pg_dump
Password:
pg_dump: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "ojadi"
我一直在搜索但没有工作,我是否缺少一些东西
I've been trying to use pg_dump but I keep getting the error:
C:\Users\ojadi>pg_dump
Password:
pg_dump: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "ojadi"
I've tried changing the pg_hba file from
I've been searching but nothings working, am I missing something
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
pg_hba.conf
文件是顺序读取的,您的条目已找到并且结束时,请在开始时添加您的条目,不要忘记运行重新加载文档: https://www.postgresql.org.org.org/docs/docs/current/current/current/auth-pgg-hba -conf.html
The
pg_hba.conf
file is read sequentially, and your entries are located and the end, please add your entries at the beginning, and don't forget to run a reloadThe doc: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html