Error in connection java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed code example
Example 1: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false
Example 2: java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
MYSQL DB CONNECTION ERROR