facebook

[Closed] Error when i try to connect to any Mysql Server

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243603 Reply

    I have this problem that are very annoying. Everytime i try to connect to a MySql Database (i have tryed on 2 pc’er) but everytime i try i get this error:

    And i really dont know why 🙁

    My connection info is:

    Eclipse:
    Version: 3.1.1
    Build id: M20050929-0840

    MyEclipseIDE:
    Version: 4.0.3 GA
    Build Id: 20051025-4.0.3-GA

    And i have found this error in the Eclipse log:
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:113)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:96)
    at com.genuitec.eclipse.sqlexplorer.actions.LoginProgress$Login.run(LoginProgress.java:43)
    at java.lang.Thread.run(Unknown Source)

    What i dont understand is why this error is coming!

    Greetings from Denmark
    Bjarne Pedersen

    #243606 Reply

    I have just found out what is wrong 🙂
    For some strange reason (properly my own fault) there were no config for that pre-defines driver in MyEclipseIDE, but now its working

    #243619 Reply

    Brian Fernandes
    Moderator

    Maximuss,

    Glad you figured it out – we are moving to making the Driver + Profile configuration less error prone.

    Sorry for the inconvenience,
    Best,
    Brian.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] Error when i try to connect to any Mysql Server

You must be logged in to post in the forum log in