java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

原因数据库连接url写错

加上 allowPublicKeyRetrieval=true

应为:      jdbc.url=jdbc:mysql://localhost:3306/fes?allowPublicKeyRetrieval=true&useSSL=false

java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

 

 

 

参考:https://dizzycoding.com/java-sql-sqlnontransientconnectionexception-public-key-retrieval-is-not-allowed-code-answers/

java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

 

上一篇:python 发起PUT请求,报"Method not Allowed" 和 取返回的报文的内容


下一篇:redmine3.4.1升级到4.2.1,遇到的问题