spring boot连接mysql 8启动报错Public Key Retrieval is not allowed 在数据库的连接字符串添加如下配置参数: allowPublicKeyRetrieval=true 参考资料: https://blog.csdn.net/qq_38140292/article/details/116583828