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