2018年11月30日 | Leave a comment 问题: Exception in thread “main” java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed 解决: jdbcurl 增加 allowPublicKeyRetrieval=true 参考: https://stackoverflow.com/questions/50379839/connnection-java-mysql-public-key-retrieval-is-not-allowed https://blog.csdn.net/ZiJinG111/article/details/81022861