com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
snippet in sql

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed

user1687

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