Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

DTP 2024.2 failed to connect to MySQL (8.0)

jfu
jfu Posts: 2

I'm doing a new installation for DTP on my local machine, after the installation of DTP 2024.2, I placed the 'mysql-connector-j-8.0.33.jar' file under the 'C:\ProgramData\Parasoft\DTP\lib\thirdparty' folder. MySQL version 8.0 is installed on the same machine. I constantly get the error message 'Unable to find a compatible JDBC driver to connect to the database.' when setting up the db connection either by creating a new dtp db, or connecting to an existing dtp db (I executed the sql script "C:\Program Files\Parasoft\DTP\grs\db\dtp\mysql\create.sql" before trying to connect to an existing dtp db) despite the connector has been placed under the correct folder. Please advise if I missed any steps:

Tagged:

Comments

  • JeehongMin
    JeehongMin Posts: 41 ✭✭

    At first glance, it looks like all the steps are correct. However, the error message indicates that the jdbc jar file cannot be found. Please file a support issue and send a zip of the log files.

  • JeehongMin
    JeehongMin Posts: 41 ✭✭

    One thing you can try before filing a support issue:
    If you did not restart DTP after copying the jdbc jar file, please restart DTP and try again.

  • jfu
    jfu Posts: 2

    Thank you very much, the restart DTP server resolved my issue!

Tagged