0

Connecting database in java

hello geeks ,am creating an employee management system in java language and would like to use mysql as my backend for storing the data of variuos entiities including the employees information.How can i connect the eclipse IDE to the mysql database.Thank you.

7th Jun 2021, 3:11 PM
Mwita Mike
Mwita Mike - avatar
3 Réponses
+ 3
Download the mysql-connector jar file and add it to the build path of your project or put it inside the lib folder. Then follow a jdbc tutorial.
7th Jun 2021, 3:29 PM
Avinesh
Avinesh - avatar
+ 1
Mwita Mike And also write java code for database connection. You can easily find source code on Google.
7th Jun 2021, 3:31 PM
A͢J
A͢J - avatar