1

Hi I need to know how I can do the database connection on a java project in Netbeans. I am creating my database through xamp. Do I have to add the database to some location of my project. And what is the code segment used for connecting?

Lucas Zamboulis
  • 2,494
  • 5
  • 24
  • 27

1 Answers1

0

Read the following thread and try the MySQL J Connector:

MySQL J Connector: https://dev.mysql.com/downloads/connector/j/

How to connect Java to MySQL: How to connect Java to Mysql?

Community
  • 1
  • 1
dna8675
  • 667
  • 3
  • 11