在DBeaver连接到mysql时提示错误:
    Public Key Retrieval is not allowed
    在数据库名后面添加 ?allowPublicKeyRetrieval=true 即可
    如果是在jdbc中就需要在url后面添加即可
    image.png