Re: JDBC Driver error
Posted by: Joseph McTigue
Date: November 30, 2012 07:11PM

HI, I'm working on a windows 7 laptop in an Eclipse Juno IDE writing a simple Java SE 7 Swing application to learn how to connect to
my 5.5 MySQL database using a Connector/j driver.
I seem to be having trouble with java finding the Connector/j Driver. I'm getting the following error message:
"No suitable driver found for jdbc:mysql:3306//localhost/test".
I've made sure themysql-con nector-java-5.1.22-bin.jar file is in the classpath on mylaptop as well as in the Eclipse IDE, but I still have this error.
Could anyone point me in the right dirrection in correcting this?

Options: ReplyQuote


Subject
Written By
Posted
September 04, 2012 06:17PM
September 05, 2012 01:00PM
Re: JDBC Driver error
November 30, 2012 07:11PM
November 30, 2012 08:09PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.