Hi Alex,
I have the same problem that paul has. But i'm trying to do that on Windows
2000.  I am getting a javax.servlet.ServletException:
org.gjt.mm.mysql.Driver
I am using  mm.mysql-2.0.6.1.jar driver and i set the CLASSPATH using
set CLASSPATH.. Not sure if i'm doing any mistake in setting the classpath.

Can you help me with this...
Thanks in advance
Praveen

----- Original Message -----
From: "Alex Kachanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 8:51 PM
Subject: Re: Would like to know....


You need to place mySQL driver into the CLASSpath
like this:

CASSPATH=f:\Tomcat\common\lib\servlet.jar;f:\Tomcat\common\lib;.;f:\Tomc
at\common\lib\postgresql.jar;f:\Tomcat\common\lib;.;f:\Tomcat\common\lib
\mm.mysql-2.0.4-bin.jar;


and in your servlet (or JSP) write the correct name for the driver.



----- Original Message -----
From: "Paul Davies" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 7:29 AM
Subject: Would like to know....


> Hi guys,
> I was just wondering if anyone has got Tomcat 4.0
> working with mySQL successfully on Linux.  I am having
> alot of trouble getting this to work.  I keep on
> getting a "javax.servlet.ServletException: No suitable
> driver"
> error and I don't know what else to do.  I am trying
> to use the mm.mysql-2.0.4 driver with little success.
>
> Thanks,
> Paul

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to