I am trying to connect to MySQL database using groovy in workfusion custom script.
This is the one line typical Groovy code to connect to MySQL db (using eclipse)
** output = Sql.newInstance(“jdbc:mysql://localhost:3306/testdb”,“root”, “root”, “com.mysql.jdbc.Driver”)**
This requires a mysql-connector-java which can be easily added in eclipse.
But in case of Workfusion there is no place to add this jar so that we can connect to DB(May be I haven’t found it). Please someone help me on this. If any, please suggest other methods to connect to MySQL db.