java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed问题
Public Key Retrieval is not allowed问题最近在学MyBatis,通过Configuration配置文件和mapper映射文件访问mysql8数据库的时候遇到了一个报错java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed,然后百度一下,发现好多人都出现这个错误,我的数据库版本是mysql-8.0.15-winx64,最后在连接数据库的url也就是spring.data
原创
2020-10-09 23:06:57 ·
2663 阅读 ·
2 评论