I got exception when i have tried to connect with mysql through jdbc.This type of question is already asked but i didn\'t get solution for my problem, here is my code...
I was using a latest version of mysql server with an older version of mysql-connector. Once I updated to the latest connector(8.0.11) this issue cleared up for me.