[英]DBeaver PostgreSQL Database - SCRAM authentication is not supported by this driver
I am trying to add a PostgreSQL database to DBeaver and am getting the following error when I try to connect to the database.我正在尝试将 PostgreSQL 数据库添加到 DBeaver,但在尝试连接到该数据库时出现以下错误。 I'm using DBeaver Version 7.2.3.202010191702.
我正在使用 DBeaver 版本 7.2.3.202010191702。 And after receiving this message I installed the latest version of the JDK (11.0.9) and pgJDBC (postgresql-42.2.18.jar).
收到此消息后,我安装了最新版本的 JDK (11.0.9) 和 pgJDBC (postgresql-42.2.18.jar)。 I've not had PostgreSQL on this machine yet, so it's a fresh install of the latest version (v13).
我还没有在这台机器上安装 PostgreSQL,所以它是最新版本 (v13) 的全新安装。 Any suggestions?
有什么建议么?
SCRAM authentication is not supported by this driver.
此驱动程序不支持 SCRAM 身份验证。 You need JDK >= 8 and pgjdbc >= 42.2.0 (not ".jre" vesions)
您需要 JDK >= 8 和 pgjdbc >= 42.2.0(不是“.jre”版本)
I had same error and in my situation I had old database drivers.我有同样的错误,在我的情况下我有旧的数据库驱动程序。 These steps fixed it for me:
这些步骤为我修复了它:
In my case, JRE version postgres being used in Pom.xml.就我而言,在 Pom.xml 中使用了 JRE 版本的 postgres。 Update it to the latest version and it should work
将其更新到最新版本,它应该可以工作
Even using all the tips and tricks found on SO I was not able to connect to PGSQL 14 DBs.即使使用在 SO 上找到的所有提示和技巧,我也无法连接到 PGSQL 14 数据库。
I fixed it by using PostgreSQL (Old)
driver, and it now works.我使用
PostgreSQL (Old)
驱动程序修复了它,现在可以使用了。
i have a problem similar to yours.step 1> open folder PostgreSQL\14\data,edit postgresql.config fix password_encryption to md5 step 2> alter all METHOD value to password, in pg_hba.conf step 3> restart ur pg server我有一个类似于你的问题。步骤 1> 打开文件夹 PostgreSQL\14\data,编辑 postgresql.config 将密码加密修复为 md5 步骤 2> 将所有 METHOD 值更改为密码,在 pg_hba.conf 步骤 3> 重新启动你的 pg 服务器
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.