Contributions
Groovy script database connection to MySql
In a Groovy script I am trying to make a database connection to MySql import groovy.sql.Sql def sql = Sql.newInstance(dbpath, dbusr, dbpwd, dbdriver) dbdriver = 'com.mysql.jdbc.Driver' Our driver is located in C:\Program Files\SmartBear\SoapUI-Pro-5.1.2\bin\ext\mysql-connector-java-5.1.32-bin.jar This results in the following error : java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/generiekbeheer_admin_soapui error at line: 5 What's possibly wrong with the driver or it's location ?10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes1Comment