Menu

Connecting problem

Help
don
2012-06-09
2013-04-29
  • don

    don - 2012-06-09

    Hi there!

    I have the following problem at the connecting stage. When sql explorer is trying to connect to the mysql running on localhost (default port, 3306) first I get this error message:

    An internal error occurred during: "Connecting To localhost/root".
    java.lang.ExceptionInInitializerError

    Than on the next try (and after this every try) I got almost the same error:

    An internal error occurred during: "Connecting To localhost/root".
    Could not initialize class com.mysql.jdbc.Util

    Params:
    Aptana Studio 3
    Java JRE 7
    SQL Explorer version 3.6.1
    mysql-connector-java-5.1.20-bin.jar (com.mysql.jdbc.Driver)

    (I think this must be about CLASSPATH, but I added the mysql connector properly in the "Change Driver" window)

    Thank you in advance for your help.

     
  • Heiko Hilbert

    Heiko Hilbert - 2012-07-06

    Did you add the mysql jar to the 'Extra Class Path' tab?
    It is a little bit confusing but the 'Java Class Path' is only needed for special jar's.

     

Log in to post a comment.