IDEA中连接mysql 报错 Public Key Retrieval is not allowed
IDEA中连接mysql 报错 Public Key Retrieval is not allowed显示。因为使用的mysql版本过高 是需要设置为true。不允许公钥检索是需要在配置url地址后面 添加。
·
IDEA中连接mysql 报错 Public Key Retrieval is not allowed显示不允许公钥检索是需要在配置url地址后面 添加 &allowPublicKeyRetrieval=true
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/mybatis?useSSL=false&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
因为使用的mysql版本过高 是需要设置为true
更多推荐
所有评论(0)