dbeaver Public Key Retrieval is not allowed
时间: 2023-10-30 20:06:53 浏览: 110
当在使用DBeaver客户端工具连接MySQL数据库时出现"Public Key Retrieval is not allowed"的错误提示时,可以尝试以下解决方法:
1. 选中无法连接的数据库,右击并选择"编辑连接"(或使用快捷键F4)。
2. 点击"驱动属性"。
3. 将"allowPublicKeyRetrieval"的值设置为true。如果是在项目中报错,可以在数据库URL中添加"allowPublicKeyRetrieval=true"参数。
这些步骤可以解决Public Key Retrieval is not allowed错误,允许公共key的检索。
相关问题
dbeaver Public Key Retrieval is not allowed
这个错误消息通常在使用DBeaver连接到数据库时出现。它表示数据库配置不允许从服务器检索公钥。解决这个问题的方法取决于你连接的数据库类型。
对于MySQL,可以尝试在连接URL中添加`allowPublicKeyRetrieval=true`。例如:
```
jdbc:mysql://localhost:3306/mydatabase?allowPublicKeyRetrieval=true
```
对于PostgreSQL,可以尝试在连接URL中添加`sslmode=require`。例如:
```
jdbc:postgresql://localhost:5432/mydatabase?sslmode=require
```
如果这些解决方案不起作用,你可能需要检查数据库配置、网络设置或防火墙规则,确保允许从服务器检索公钥。如果是在企业环境中操作,还可能需要联系系统管理员或数据库管理员以获取更多帮助。
dbeaver public key retrieval is not allowed
"Public Key Retrieval is not allowed"是一个数据库连接错误,在使用DBeaver连接数据库时可能会遇到。这个错误表示DBeaver无法检索公钥,可能是因为连接设置中禁止了这个操作。这个错误通常发生在使用JDBC连接数据库时。要解决这个问题,你可以参考关于JDBC连接数据库时出现的Public Key Retrieval is not allowed错误的相关资料。
阅读全文
相关推荐














