I am trying to do what Terrance did, namely connect a Java program to MySQL. Reading this post, I realise I have not installed the Connector/J driver and it's not in my class path. How do you do this? I have downloaded the Connector/J zip file (I am using windows XP) from MySQL into a separte directory on my drive and I have extracted a load of stuff but I have no idea where the driver is or how to configure it. Has anyone done this before, I have been horsing about clueless for days on this and if I don't get it sorted soon, I shall become seriously depressed!
or you can put the mysql connector jar file into the directory where you install your jdk or jre. Specifically put into the directory : c:/Java/jdk1.5.0/jre/lib/ext or if you only install jre c:/Java/jre1.5.0/lib/ext. I hope this help you.
Joined: Nov 30, 2003
thanks, guys! Everything is up and running. What a brilliant web site this is!