My Jira seems to be not connecting to the External MySQL DB.
To erradicate any DB issues, I tested the credentials using MySQL workbench and Glassfish server and managed to verify the information I entered was correct.
Afterwards I used the dbconfig.xml as per https://confluence.atlassian.com/display/JIRA052/Connecting+JIRA+to+MySQL#ConnectingJIRAtoMySQL-4.2ConnectingJIRAtoMySQLManually, and didnt have much luck with it too.
I then tried different settings on the URL and as soon as I removed parameteres on it the connection seems to work. Afterwards I tries different combinations and it seems that sessionVariables=storage_engine=InnoDB and useUnicode=true&characterEncoding=UTF8 doesnt seems to be working together, however if I only use one of them at a time it works perfectly.
My question is, do I need to have them there, and if so whats the most important parameter to have and what can I exclude from it?