0

have changed web.xml and jsp to details for mysql and also put mysql drivers in classpath. yet unable to connect. mysql server of wamp running on port= 3306 and socket= /tmp/mysql.sock what necessary changes do i have to make in my application

3
  • @Gumbo: I think he means Apache Tomcat 6. Commented Sep 23, 2009 at 16:47
  • can you provide some more information, such as the error messages/exceptions/stack traces you're seeing and a description of any other symptoms? Commented Sep 23, 2009 at 17:29
  • java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) Commented Sep 24, 2009 at 16:49

1 Answer 1

1

Just put mysql-connector-java-5.0.8-bin.jar in apache-tomcat-6.0.14\lib and restart the server.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.