spring boot连接mysql 8启动报错Public Key Retrieval is not allowed(Spring boot connection MySQL 8 startup error public key retrieval is not allowed)-spring
spring boot连接mysql 8启动报错Public Key Retrieval is not allowed(Spring boot connection MySQL 8 startup error public key retrieval is not allowed)
在数据库的连接字符串添加如下配置参数:
allowPublicKeyRetrieval=true
参考资料:
https://blog.csdn.net/qq_38140292/article/details/116583828
————————
Add the following configuration parameters to the connection string of the database:
allowPublicKeyRetrieval=true
reference material:
https://blog.csdn.net/qq_38140292/article/details/116583828