Using database-mysql plugin to connect to mysql Groovy
I am trying to use newInstance method from groovy.sql.Sql
library to connect to mysql.
Based on my research and reading a lot of stackoverflow questions here is a summary of what needs to be done: