Possible Duplicate:
com.mysql.jdbc.Driver not found with mysql connector in buildpath
I'm working on connecting MySQL database to a Java program. When I run my program I am getting this error
Class Not Found Exception: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
for this line
try{ Class.forName("com.mysql.jdbc.Driver").newInstance();
So, what's the problem? I'm placing the connector in the project's file.. Is the correct or should it be in another location?
OS Windows XP, Eclipse 4.0, mysql connector 5.1.22