set correct collation for SQL server 2014

The database collation 'SQL_Latin1_General_CP1_CI_AS' and table collation 'SQL_Latin1_General_CP1_CI_AS' are not supported by JIRA.

The above message I receive once starting my local instance which connected to SQL Server. 

When I run the query to see what is used , return as "SQL_Latin1_General_CP1_CI_AS"

But how can I get the following (both similar to my current one), but either one should be accepted by JIRA, I don't know how to resolve this issue. please help. 

  • SQL_Latin1_General_CP437_CI_AI
  • Latin1_General_CI_AI

1 answer

1 accepted

Easiest and safest way to handle this is to migrate database. Create a new (empty) database (on the same database) with correct collation. Then take a xml backup of your current jira. Shut down jira  and change dbconfig to point to new database. Then import the xml backup you have taken earlier on the new database. In this way JIRA will fix the collation to each table with database collation. 

After this run database query for both table and database collation. It should give same result.

 

NOTE: Take full backup of both database and application.

 

In case of rollback, you just need to change the dbconfig to point to old database. So make sure old database remains untouched.

 

Also I would suggest to try migration in Test/Dev environment before trying it in actual production environment.

Thank you so much!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

671 views 3 11
Read article

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