Mysql 8连接报Public Key Retrieval is not allowed
项目使用Mysql 8,在连接时报Public Key Retrieval is not allowed,错信息如下解决方法:在url后面增加&allowPublicKeyRetrieval=true即可,如jdbc:mysql://localhost:3306/mybatis?useSSL=false&allowPublicKeyRetrieval=true...
复制链接