Mysql8.0 Public Key Retrieval is not allow错误的解决办法

在使用Mysql 8.0时重启后启动项目的事后会报错com.mysql.jdbc.exceptions.jdbc4.MysqlNonTransientConnectionException: Public Key Retrieval is not allow

最简单的解决办法就是在连接后面添加allowPublicKeyRetrieval=true

posted on 2018-09-25 14:08  zzzhouheng  阅读(472)  评论(0编辑  收藏  举报

导航