Results 1 to 3 of 3
  1. #1
    buston01 is offline Member
    Join Date
    Jan 2010
    Posts
    9
    Rep Power
    0

    Default connection to db using netbeans

    please, i am writing a program that will connect to a database and it can not locate the driver please what can i do

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,361
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by buston01 View Post
    please, i am writing a program that will connect to a database and it can not locate the driver please what can i do
    The code for the driver is normally stored in a .jar file. Add that .jar file to your classpath.

    kind regards,

    Jos

  3. #3
    RFClover is offline Member
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    0

    Default

    When NetBeans is installed, two servers(Glassfish/Appach) and database(mySQL) have been preinstalled. They are stored under Library. Is that right?

Similar Threads

  1. Replies: 7
    Last Post: 03-17-2012, 10:46 AM
  2. Connection to Database using netbeans
    By buston01 in forum NetBeans
    Replies: 1
    Last Post: 02-11-2010, 08:11 AM
  3. Replies: 7
    Last Post: 10-20-2009, 10:34 AM
  4. TCP Connection
    By Blacknight in forum New To Java
    Replies: 3
    Last Post: 06-04-2009, 01:02 PM
  5. no connection
    By even in forum JDBC
    Replies: 15
    Last Post: 01-02-2008, 01:50 PM

Posting Permissions

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