Fehler bei Treiberjava.lang.ClassNotFoundException: com.mysql.jdbc.Driver
I think my code snippet is not able to find the driver. I've downloaded the mysql-connector-java-3.1.12 from the webpage of mysql, and added into classpath. Did i download wrong version/driver? What is my mistake? I would like to see how a can i create a connection, sql statements and results etc. (in very simple from) Thanks for any help
posted 11 years ago
The code looks OK, but it doesn't find the driver. This is most likely a classpath problem. Maybe you made a typo when adding the jar file to the classpath - examine it closely.