Hello Archit,
Current GA Release for connector is 5.1.24. Just download the zip and extract it to a folder. From within your project add a reference to mysql-connector-java-5.1.24-bin.jar. That's all. You can find many working examples here[
^].
Regards,