PGADMIN4 SCRAM身份验证LIBPQ 10
首先 - 我不是专家(至少可以说)。 我想在Raspberry Pi 4上设置一个PostgreSQL数据库,并使用Ubuntu Desktop 22.04 LTS和PGADMIN4设置一个数据库,但我被卡住了。
在Python虚拟环境中运行PGADMIN并到达127.0.0.1:5050后,出现登录页面,似乎一切都很好,直到我尝试设置新服务器。在提供服务器名称和地址警报之后出现:“无法连接到PostgreSQL Server:SCRAM身份验证需要LIBPQ版本10或更高版本“
修改password> password> password> password-codemption
and code> method> method> in 中的方法
pg_hba.conf 和postgresql.conf
to md5
没有帮助。
Postgres 14,PGADMIN 4 V 6.10,LIBPQ-DEV已经是最新版本(14.4-1.pgdg22.04+1)。
有什么建议吗?
First of all - I'm not an expert (to say the least).
I want to set up a PostgreSQL database on my Raspberry Pi 4, with Ubuntu Desktop 22.04 LTS and pgAdmin4, but I got stuck.
After running pgadmin in Python Virtual Environment and going to 127.0.0.1:5050, login page appears, all seems fine, until I try to set up a new server. After providing server name and address alert appears: "Unable to connect to PostgreSQL server: SCRAM authentication requires libpq version 10 or above"
Modifying password-encryption
and METHOD
in pg_hba.conf
and postgresql.conf
to md5
did not help.
Postgres 14, pgAdmin 4 v 6.10, libpq-dev is already the newest version (14.4-1.pgdg22.04+1).
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我尝试了许多更改密码,配置和重新启动的组合。这是有效的方法:
method
pg_hba.conf toTrust
&重新启动Postgrespassword-recryption
postgresql.conf
tomd5
&重新启动用户的PostgresPostgres
(由于“方法/信任”可能是多余的)&重新启动Postgres...而且有效。
谢谢你!
I have tried many combinations of changing passwords, configs and restarting. Here's what worked:
METHOD
s inpg_hba.conf
totrust
& restart postgrespassword-encryption
inpostgresql.conf
tomd5
& restart postgrespostgres
(which might have been redundant due to "method/trust") & restart postgres...and it works.
Thank you!