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

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

user9924

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

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

user5674

MYSQL DB CONNECTION ERROR