1

I am connecting to MySQL Server which is on my Local Host and in my Local Host It's on Port Number 3306 and In that MySQL Server I am going and connecting to the database and to access that the Credentials are... The Username is root. The password is root.

Could anyone explain to me what does MySQL-connector-java jar mean?

Elegant Student
  • 305
  • 2
  • 8
  • 16

1 Answers1

2

A jar file is a collection of Java classes (usually a library). And mysql-connector-java-8.0.12.jar is version 8.0.12 of the MySQL Connector/J JDBC driver. A JDBC driver is used to connect to a database, in this case to MySQL.

For information on how to connect to MySQL, see Connect Java to a MySQL database

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197