#82 Could not load mysql-Connector with v3.5.1

closed
nobody
None
5
2011-04-12
2010-09-06
felix-oertel
No

I´m not able to load the mysqlconnector. There is no driver found in the jar.
The problem does not appear with v3.5.0RC8. Doens´t matter, if RPC or plugin is used.

Windows 7 64bit, Eclipse Helios PDT 32bit or Aptana 2.0.5 32bit, JDE is 32bit

Discussion

  • Heiko Hilbert
    Heiko Hilbert
    2010-09-06

    Which Version of mysqlconnector do you use?

     
  • felix-oertel
    felix-oertel
    2010-09-07

    Doesn´t matter.
    I tried with 3.1.14; 5.0.8; 5.1.13.

     
  • Heiko Hilbert
    Heiko Hilbert
    2010-09-07

    I can reproduce the problem and have a workaround. The problem seems to be that 'List drivers' can't detect the MySql Driver class. I have to setup an IDE on Win7 to find out why. But if you enter the driver class name:

    com.mysql.jdbc.Driver

    by hand into the combo box in the JDBC-Drivers dialog, it works. Itested it with MySql Connector 5.1.13 and 5.1.5 with 32 bit and 64 bit version of SQLExplorer standalone on Win7 64 bit.

     
  • felix-oertel
    felix-oertel
    2010-09-08

    Cheers! It is working.
    Shall I close?

     
  • Kevin Benton
    Kevin Benton
    2010-09-12

    While it was a bit confusing to figure out, when I added an extra class path pointing to the Connector/J driver I downloaded from mysql.com, I was able to add thenew driver, click on the driver, then click on List Drivers and saw the driver class name is com.mysql.jdbc.Driver in 3.1.14. I got that without issues but then again, I'm using CentOS and not Win7.

    Not what I would call intuitive, but I'm not sure much of this will be given the complexity.

     
  • Heiko Hilbert
    Heiko Hilbert
    2011-04-12

    • status: open --> closed