- This topic has 6 replies, 4 voices, and was last updated 19 years, 7 months ago by
PaulRSinnema.
-
AuthorPosts
-
ymidtMemberdialog is
Error while trying to login to database:
com.mysql.jdbc.Driveruser/pwd is correct. Any ideas how I can tell what went wrong?
Thanks,
— David
November 4, 2004 at 10:10 am #218872
Riyad KallaMemberThe log file is located at: <workspace dir>\.metadata\.log, you can check it for exceptions that might help us.
Also didyou add the Connector/J JAR file to your “Extra CLass Path” when you setup the driver?
April 9, 2005 at 4:05 pm #227840
Erick DovaleMemberHello there,
I am having trouble having my eclipse to connect to myeclipse. The error seems to be that myeclipse is not finding the driver class as the next entry is added to the log everytime I try to connect:!ENTRY com.genuitec.eclipse.sqlexplorer 4 4 Apr 09, 2005 16:49:34.31
!MESSAGE Error while trying to login to database
!STACK 0
java.lang.ClassNotFoundException: com.mysql.jdbc.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$A.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)I have the driver for mysql in my project path. Is there any special thing that need to be done for this to work?
Thanks
Erick
April 11, 2005 at 7:34 am #227858
Riyad KallaMemberErick,
Please go step-by-stept hrough this document: http://www.myeclipseide.com/images/tutorials/quickstarts/dbexplorer/April 11, 2005 at 2:19 pm #227907
Erick DovaleMemberThanks a lot. Problem was solved.
cheers,
Erick.December 4, 2005 at 6:05 am #242603
PaulRSinnemaMemberHad the same problem. The funny thing is that when I ‘Edit’ the connection from DB Explorer I keep getting the error. After editing the Connection in the Preferences Dialog it started to work.
December 4, 2005 at 6:09 am #242604
PaulRSinnemaMemberForgot to set notify
-
AuthorPosts