Connecting database in java | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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
2 Respostas
+ 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