数据库相关异常java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
数据库相关异常java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowedmysql8以上的版本的数据库在连接的时候报错java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed只要在url的后边加上allowPublicKeyRetrieval=true即可jdbc:mysql://loca.
原创
2021-06-17 21:34:15 ·
381 阅读 ·
0 评论