最简单的解决方法是在连接后面添加 allowPublicKeyRetrieval=true
spring.datasource.url=jdbc:mysql://localhost:3306/sgk?characterEncoding=utf8&useSSL=false\
&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
最简单的解决方法是在连接后面添加 allowPublicKeyRetrieval=true
spring.datasource.url=jdbc:mysql://localhost:3306/sgk?characterEncoding=utf8&useSSL=false\
&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
本文标题:MySQL 8.0 Public Key Retrieval i
本文链接:https://www.haomeiwen.com/subject/bkzwahtx.html
网友评论