Huskehhh / MySQL

Simple JDBC MySQL database wrapper for Java
MIT License
69 stars 51 forks source link

Public Key Retrieval is not allowed #18

Closed zigazajc007 closed 4 years ago

zigazajc007 commented 4 years ago

When I try to connect into database it give me Public Key Retrieval is not allowed error.

I know that I can solve this problem by removing useSSL = false or adding option allowPublicKeyRetrieval=true, but I can't remove any parameter from pro.husk.mysql.MySQL Object or add any option.

Huskehhh commented 4 years ago

Hey man! I just pushed a change to fix this. It can be seen in v1.3.1 https://github.com/Huskehhh/MySQL/blob/master/src/main/java/pro/husk/mysql/MySQL.java#L31

zigazajc007 commented 4 years ago

Thanks man. You are the best ;)