The moose likes IDEs, Version Control and other tools and the fly likes Unable to connect to mysql through ecllipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Unable to connect to mysql through ecllipse" Watch "Unable to connect to mysql through ecllipse" New topic
Author

Unable to connect to mysql through ecllipse

ujwwala tem
Ranch Hand

Joined: Feb 10, 2010
Posts: 66
Hello,

I have mysql-connector-java-5.1.10-bin.jar file as well as mysql-essential-5.1.41-win32 package and with that mysql-connector-java-5.1.10-bin.jar ,

I am able to login to myseql throgh command prompt the server connects,but I am not able to connect it throgh eclipse gunymade where I create new driver and give mysql 5.1,then it asks me for Unable to locate JAR/zip in file system as specified by the driver definition: mysql-connector-java-5.1.0-bin.jar.

So do I have to again download only this vesrion?

Please help
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2207

Moved to our IDEs, Version Control and other tools forum.
Hope that our EDI community can help you with configuring Eclipse.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
Not sure what you're asking, but the jar file itself isn't the driver--the driver is a class located within the jar file.
 
 
subject: Unable to connect to mysql through ecllipse
 
Threads others viewed
Facing problem mysql connection in struts application
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver error
Unable to connect to MYSQL through eclipse
ClassNotFound?
Help - - - ClassNotFoundException: com.mysql.jdbc.Driver
IntelliJ Java IDE