thanks:) -----Original Message----- From: Margaret Fisk [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: Re: sqlException
Then set the mysql jar file in your classpath at runtime. I.e. Java -classpath c:\mysql\mysql.jar;. yourjavafile -----Original Message----- From: Lai, Kenny [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 9:38 AM To: [EMAIL PROTECTED] Subject: Re: sqlException i'm running the java file from the command line.. not through tomcat or any java app server.. -----Original Message----- From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 12:32 PM To: [EMAIL PROTECTED] Subject: Re: sqlException Try putting the mysql jar file in the lib directory of your web app or your app server's default lib directory. R On 7/12/02 12:12 PM, "Lai, Kenny" <[EMAIL PROTECTED]> wrote: > hey all i'm getting a sqlException, with mysql as the database on a local > machine.. > > SQLState: 08001 > Message: No suitable driver > > my CLASSPATH variable is set to the jdk, and the mysql jar file (CLASSPATH > =C:\j2sdk1.4.0\bin; C:\Downloads\code\classes\mm.mysql-2.0.4-bin.jar) > > are there are any ideas on why this may be? > > =========================================================================== > 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 > =========================================================================== 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 =========================================================================== 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 =========================================================================== 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 =========================================================================== 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
