1、参考:mysql 连接出现 Public Key Retrieval is not allowed_mysql public key retrieval is not allowed-CSDN博客
解决了问题
我的JDBC串为:
jdbc:mysql://localhost:3306/hmblogs?useSSL=true&allowPublicKeyRetrieval=true&serverTimezone=UTC
1、参考:mysql 连接出现 Public Key Retrieval is not allowed_mysql public key retrieval is not allowed-CSDN博客
解决了问题
我的JDBC串为:
jdbc:mysql://localhost:3306/hmblogs?useSSL=true&allowPublicKeyRetrieval=true&serverTimezone=UTC