Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to external MY SQL database from script console

Meena Sabnivisu January 10, 2019

Hi Whwn I am trying to connect to external my sql database with the code provided in the

https://scriptrunner.adaptavist.com/latest/jira/recipes/misc/connecting-to-databases.html

I am getting this error:

groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method groovy.sql.Sql#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface javax.sql.DataSource] [interface java.sql.Connection] at Script121.run.

Plz help.

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, social impact bingo, may it forward, atlassian foundation, community engagement, atlassian community events, atlassian learning, social impact challenge, volunteering, community kudos, atlassian social impact, atlassian community

Come one, come all!

Hey everyone! Are you ready to make a difference? Join the Atlassian Social Impact Bingo event! ❌⭕

Play Bingo! 🙋🏻‍♂️
AUG Leaders

Atlassian Community Events