JIRA Fails to Start After SQL db Connection

Robert Pulido December 14, 2017

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
Answer accepted
Suhas P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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.

Robert Pulido December 18, 2017

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

Suggest an answer

Log in or Sign up to answer