Results 1 to 3 of 3
  1. #1
    Emy is offline Member
    Join Date
    Oct 2009
    Rep Power

    Angry eclipse database plugin problem(urgent plz)

    HI everyone:
    My problem with eclipse and plugins needed to design and create database
    first I use eclipse v-3.5.1
    download :

    there's no Database Development perspective in my eclipse ????

    I do these steps but that doesn't help
    in data source explorer :
    r-click on Database connections >> new ... >>> Generic JDBC then next and
    when try to add new driver definition it show in Name\Type tab
    Database and under it Generic JDBC diver and when I try the Jar list tab to add mysql connector it doesn't work

    WHAT'S THE PROBLEM ???????????

    pleasssssssssssssssssssse hellllllllllllllllp me :
    whats requirments needed to make my first db in eclipse

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Zurich, Switzerland
    Rep Power


    Quote Originally Posted by Emy View Post
    pleasssssssssssssssssssse hellllllllllllllllp me
    Here is the code i generally use for a connection to mysql-db.

    Java Code:
    		if (connection == null) {
    			try {
    			} catch (ClassNotFoundException e) {
    				System.out.println("Couldn't find the driver!");
    			try {
    				connection = DriverManager.getConnection(
    						"jdbc:mysql://localhost:yourPortNumber/mydb", Parameter.userID , Parameter.password);
    			} catch (Throwable e) {
    				System.out.println("Couldn't get connection to localhost!");
    You have to add your mysql-connector-java-version.jar as external jar in order that eclipse can find the driver. you will find an indroduction to database connection Java Tutorials - Java Forums good luck.

  3. #3
    amitabh is offline Member
    Join Date
    Apr 2010
    Rep Power


    first you have to put your connector in jdk>jre>ext>folder
    then go to database connection then select your driver ignor the red mark add the connector by browsing to the connector place then add proper info about your connection like databasename user password and test connection good luck

Similar Threads

  1. Eclipse plugin problem
    By javarooster in forum Eclipse
    Replies: 2
    Last Post: 12-17-2009, 03:45 AM
  2. Replies: 0
    Last Post: 04-20-2009, 06:26 PM
  3. Problem of Classloader in Eclipse Plugin Developemt.
    By Ashish Naidu in forum Eclipse
    Replies: 0
    Last Post: 09-12-2008, 10:16 AM
  4. AnyEdit Plugin For Eclipse Plugin
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-18-2007, 12:28 PM
  5. plugin for eclipse
    By sin in forum Eclipse
    Replies: 1
    Last Post: 05-10-2007, 07:43 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