Publish: 2022-08-31 | Modify: 2022-08-31
Recently, a new service requires the use of a MySQL 8 database. After installation, when connecting with the DBeaver client, an error occurs saying "Public Key Retrieval is not allowed".
Edit the connection - edit driver settings.
Switch to connection properties - right-click and add the following 2 new properties:
Refer to the screenshot below:
Save and reconnect.
This article is partially referenced from: Connection Java - MySQL : Public Key Retrieval is not allowed
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.