I'm new to mysql and relatively new to java. I've downloaded a type 4 driver from 
mm.mysql. I've put the folder containing the driver in my classpath and included the 
driver in my code as per the instructions as follows:

try{
    Class.forName("org.gjt.mm.mysql.Driver");
}

The problem is that though the code compiles it throws a ClassNotFoundException when I 
try to run it. For some reason the driver is not found. I'm probably missing something 
really obvious but can anyone help me with this.

Michael


Reply via email to