This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MYSQL   Exception" Watch "MYSQL   Exception" New topic

MYSQL Exception

Bacchi Gerem
Ranch Hand

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


I did all required setting :
My Classpath:

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: 293

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

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:
subject: MYSQL Exception
It's not a secret anymore!