Public Key Retrieval is not allowed


DB URL中新增&allowPublicKeyRetrieval=true

如:
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/dbname??useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghaiallow&PublicKeyRetrieval=true

posted @ 2022-08-31 08:50  人间春风意  阅读(8)  评论(0编辑  收藏  举报