Forum Discussion

bluesky98's avatar
bluesky98
New Contributor
7 years ago

mysql-connector-java-5.1.45-bin jar file not recognized by ReadyAPI

I put mysql-connector-java-5.1.45-bin.jar file in ReadyAPI-2.1.0\bin\ext directory, after clicked "Test Connection" for JDBC Request step, got:

 

com.eviware.soapui.support.SoapUIException: Failed to initialize the connection that uses the [com.mysql.jdbc.Driver] driver. Connection string: [jdbc:mysql://localhost:3306/sakila?user=root&password=#####].

 

Please advise.  Thanks. 

3 Replies

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi, 

     

    Thank you for your post. I cannot reproduce the issue on my side with the mentioned file. Did you download the JDBC driver the official site: http://dev.mysql.com/downloads/connector/j/5.0.html? I can reproduce the error if I don't have the mysql-connector-java-5.1.45-bin.jar file in the <ReadyAPI_Install>\bin\ext folder. Can you provide a screenshot of the content of your <ReadyAPI_Install>\bin\ext folder?

    • bluesky98's avatar
      bluesky98
      New Contributor

      Now the issue resolved after I added the jar to C:\WINDOWS\Sun\Java\lib\ext.

      • Nastya_Khovrina's avatar
        Nastya_Khovrina
        SmartBear Alumni (Retired)

        Hi,

         

        I'm glad to hear that the issue is resolved! Thank you for sharing your solution with us.