Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2011

    Unanswered: connecting mysql database in eclipse using jdbc


    i am trying to connect my GUI (java applet) to mysql database to enable users to retrieve queries from the GUI...

    inorder to establish connection between the GUI and mysql

    i have downloaded....

    eclipse version helios service release 2
    mysql server 5.1
    connector/J (used to connect mysql via jdbc driver)

    i have installed and configured the jdbc driver and manage to connect to the succeeded

    but the problem is i can see the schema but i cant see the tables in the database...

    does anyone knows what is the problem and how to solve it...
    your help is highly appreciated..

    best regards

  2. #2
    Join Date
    Sep 2009
    San Sebastian, Spain
    Its sounds like you are not specifying a database in your connection properties for example:

    conn =
    DriverManager.getConnection("jdbc:mysql://localhost/yourdatabasename" +
    Ronan Cashell
    Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
    Follow me on Twitter

  3. #3
    Join Date
    Nov 2011
    yes i did specify the mentioned details but i still have the same problem

Posting Permissions

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