Public Key Retrieval is not allowed 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: mysql Public Key Retrieval is not allowed
allowPublicKeyRetrieval=true
Example 3: java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
MYSQL DB CONNECTION ERROR