Results 1 to 3 of 3

Thread: JDBC connection

  1. #1
    Dineshmtech is offline Member
    Join Date
    Jan 2012
    Posts
    5
    Rep Power
    0

    Default JDBC connection

    Hello i am new to java

    i have following basic coding, but it show error like

    " Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver "

    could anybody help me


    Thanks in Advance

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default Re: JDBC connection

    Add the driver to your classpath. Search the forums - this question has been answered countless times with descriptions on how to accomplish this.

  3. #3
    Dineshmtech is offline Member
    Join Date
    Jan 2012
    Posts
    5
    Rep Power
    0

Similar Threads

  1. JDBC Connection
    By Riyaz.hk77 in forum New To Java
    Replies: 2
    Last Post: 11-06-2010, 06:53 PM
  2. JDBC connection
    By evermore in forum JDBC
    Replies: 1
    Last Post: 03-19-2010, 09:35 AM
  3. JDBC Connection...
    By onlysumitg in forum JDBC
    Replies: 3
    Last Post: 08-21-2009, 12:34 PM
  4. JDBC connection
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-10-2007, 08:39 PM
  5. How to close JDBC Connection
    By Heather in forum JDBC
    Replies: 2
    Last Post: 07-15-2007, 02:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •