ex = (java.sql.SQLException) java.sql.SQLException: Error in allocating a connection. Cause: The connection could not be allocated: Public Key Retrieval is not allowed code example
Example: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
jdbc:mysql://localhost:3306/db?allowPublicKeyRetrieval=true&useSSL=false