Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Soo's avatar
Level 2

Public Key Retrieval is not allowed'

Hello, My database not open . I have DBeaver it show me this error' Public Key Retrieval is not allowed'. Any help please.

0 likes
3 replies
Snapey's avatar

@Arthur Henrique check the permissions of your keyfile. I think only 600 is permitted

pachristos's avatar

Hello from future!

To fix this error on DBeaver:

  • Go to your database connection and Right-click and select Edit Connection,
  • Then, go to the Driver Properties section (located next to the Main tab). Locate the property named allowPublicKeyRetrieval, which by default is false. Change this value to true.
1 like

Please or to participate in this conversation.