Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.4K
Views
Connexion between DBeaver & MySQL

I use DBeaver to watch an SQL database on MySQL 8+.

Everything is working, but sometimes, opening DBeaver, I have the following error message :

Public Key Retrieval is not allowed

And then, DBeaver can't connect to MySQL.

In order to fix this problem, I have to reconfigure MySQL.

Is there any simplest way to fix this problem ?

over 4 years ago · Santiago Trujillo
4 answers
Answer question

0

Edit Connection

click second tab "Driver Properties"

Change property allowPublicKeyRetrieval = True

Connection settings/Driver properties:

enter image description here

over 4 years ago · Santiago Trujillo Report

0

Change the settings on Dbeaver:

  1. Right click your connection, choose "Edit Connection"
  2. On the "Connection settings" screen (main screen) click on "Edit Driver Settings" enter image description here
  3. Click on "Connection properties"
  4. Right click the "user properties" area and choose "Add new property"
  5. Add two properties: "useSSL" and "allowPublicKeyRetrieval" enter image description here
  6. Set their values to "false" and "true" by double clicking on the "value" column
  7. Save and test the connection.

Hopefully it should work!

over 4 years ago · Santiago Trujillo Report

0

Did you try explicitly allowing public key retrieval in DBeaver? In the connection settings, SSL tab you can find it

enter image description here

This is in case you are using SSL, otherwise in the same screen you can disable SSL by unchecking "use SSL" and "require SSL"

over 4 years ago · Santiago Trujillo Report

0

Ratish Bansal's solution works for me on MacOS Mojave, and after that, I always get a timezone error. The solution for that is to set my local timezone in the connection settings:

enter image description here

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!