I have a problem, which is proberbly very simple but i am still having trouble with it.
I have downloaded the jdbc driver 'mysql-connector-java-3.1.6-bin.jar and placed it in my packages directory. I have changed my classpath to include that directory and the directory containing my java program as below
set classpath=\c:\Program Files\java\jdk1.5.0\mypackages\mysql-connector-java-3.1.6-bin.jar;c:\Program Files\java\jdk1.5.0
when i run my program it comes up with the error "Exception: No Suitable Driver"
I have tried placing the .jar file in the jdk1.5.0\jre\lib\ext but that still comes up with an error.
I was just wondering if anybody can see what i am doing wrong?
I would be very grateful for any advice Thanks
below is the code for the java program i am using to test my connection:
[edited to add code tags] [ February 03, 2005: Message edited by: Jeanne Boyarsky ]
Joined: Feb 03, 2005
I have looked into this problem and can see that i the java program was incorrect, and my program now works with JDBC