spring boot连接mysql 8启动报错Public Key Retrieval is not allowed

在数据库的连接字符串添加如下配置参数:

allowPublicKeyRetrieval=true

 

参考资料:

https://blog.csdn.net/qq_38140292/article/details/116583828

posted @ 2022-05-13 19:50  jamstack  阅读(88)  评论(0编辑  收藏  举报