File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes MYSQL   Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "MYSQL   Exception" Watch "MYSQL   Exception" New topic
Author

MYSQL Exception

Bacchi Gerem
Ranch Hand

Joined: Jan 23, 2004
Posts: 120
I am using WSAD and MYSQL database. I am getting error

Exception:com.mysql.jdbc.Driver

I did all required setting :
My Classpath:
CLASSPATH=.;C:\mysql\mysql-connector-java-3.1.10;C:\mysql\mysql-connector-java-3
.1.10\mysql-connector-java-3.1.10-bin.jar

I imported the mysql-connector-java-3.1.10-bin.jar to my project library.
still I am getting this error. Please help in solving this issue.
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

Do you have more details about the exception? Is there a stacktrace?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

In WSAD you need to include the driver in either the project build path or the web-inf/lib directory, depending on whether you are running an application or application server. Please provide more information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MYSQL Exception
 
Similar Threads
JDBC for MySQL
java.sql.SQLException: No suitable driver
JDBC MySQL Driver Connection
JDBC connection error
No suitable driver