java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

刺骨的言语ヽ痛彻心扉 2023-07-04 15:51 118阅读 0赞

welcome to my blog

错误信息:java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

解决方法, 在连接数据库的配置中增加allowPublicKeyRetrieval=true

比如spring.datasource.url=jdbc:mysql://localhost:3306/ponto_inteligente?allowPublicKeyRetrieval=true

发表评论

表情:
评论列表 (有 0 条评论,118人围观)

还没有评论,来说两句吧...

相关阅读