首页 > 技术文章 > Public Key Retrieval is not allowed

googlegis 2018-10-21 01:20 原文

链接MySQL数据库报错:

 

数据库连接url中添加对应属性的支持。allowPublicKeyRetrieval=true&useSSL=false

 

url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false&autoReconnect=false


推荐阅读