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 would try to play around the char encoding sets, for instance you can try to use the following url
String url="jdbc:mysql://localhost:3306/student?autoReconnect=true&useSSL=false&characterEncoding=utf8&useUnicode=true";