JIRA Fails to Start After SQL db Connection

I initially installed JIRA using the internal db for evaluation. We have started using the product and purchased a 10 user licence, with plans to expand shortly. Once I added my licence to JIRA, it gave me a warning that I should migrate to an external db. 

I am following the guide here;

https://confluence.atlassian.com/adminjiraserver071/switching-databases-802592192.html

Specifically; Migrating JIRA's data to a different type of database server.

I created my back up, shutdown, removed the dbconfig, restarted, walked through the connection wizard, and established my connection.  

But then JIRA just errors out.

I can see that the tables were created in the db. But JIRA does not start.

If I replace the new dbconfig with the old, it restarts just fine.

But I am not sure how to trouble shoot the SQL issue.

See the error log; https://pastebin.com/raw/qzgFcSqu

 

1 answer

1 accepted

1 vote
Suhas Patil Community Champion Dec 15, 2017

Hi,

Check database user has all necessary permissions and also do some checks if database is set up correctly as per the recommendations from Atlassian. Ex for MySql DB it is given here .. https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-mysql-938846854.html

After verifying Database is set up correctly, make sure jira is down, delete the lock file and then start again.

We had an incorrect collation, thank you for your help.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,657 views 15 13
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you