-
Download MySQL, and any program for MySQL database and setting it...
-
Download MySQL Connector from
https://dev.mysql.com/downloads/connector/j/
and add it to Structure of the Project ( you need the .jar file in the folder) -
You can find the database "Students.sql" in the project folder
-
Set up your database settings in the fields:
-
Class.forName("com.mysql.cj.jdbc.Driver");
-
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/StudentIT", "root", "");
- Now you can add, remove and update students
****ENJOY !!!