错误信息摘要
Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed
修改数据库配置
jdbc:mysql://localhost:3306/database_name?allowPublicKeyRetrieval=true
Caused by: com.mysql.cj.exceptions.UnableToConnectException: Public Key Retrieval is not allowed
jdbc:mysql://localhost:3306/database_name?allowPublicKeyRetrieval=true