At 12:29 PM +0100 6/15/01, Michael Garthwaite wrote:
>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");
>}
Try changing the call to:
Class.forName ("org.gjt.mm.mysql.Driver").newInstance ();
>
>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
--
Paul DuBois, [EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php