Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Where do I get the database connector with Xampp to connect to mySql with java?

 
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting the class not found exception for the Driver.  I'm trying to connect to the database, but I don't know where to find the classpath jar to connect to the database.  I have Xampp, but I cannot find it.  Connector J does not work for some reason, because it tells me the port is already in use, and I cannot get it to run as it keeps saying failed, and I'm thinking that it's because I already have Xampp, so I cannot use a connector to connect to a port I'm already using.  I just want to know where to find the jar and what the username and password is, such as root.
 
Saloon Keeper
Posts: 5801
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Searching for "download mysql connectorj" will get you there fast.
 
Nathan Milota
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't work.
 
Nathan Milota
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay.  I figured out that part.  I just wasn't downloading the right thing.
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!