建议在链接url处添加对应的属性

 

jdbc:mysql://localhost:3306/book?allowPublicKeyRetrieval=true&useSSL=false 

 

相关文章: