How to fix database collation via command line

Hello, 

We are upgrading JIRA to v7.1.10 and noticed that the database collation is not supported.  Understand that to fix the collation, we have to create a new DB, create the new tables and import data from old database.  Atlassian provided the steps to create the tables and import data using the SQL server management studio.  Is there a way to automate these steps?  Can help to provide guide or scripts to export and import data via command line?

Thanks!

2 answers

0 vote

Hello Mildred,

Of course, the way we mention it on the article you read is the recommended way, and the way we have confirmed it will work with Jira. However, I found the following article that you could also give a try:

Since you mentioned SQL Server Management Studio I assume you're using MS SQL, so this is the article I have provided.

Please give that a try but if it does not work I would recommend following our recommended action.

Kind regards,

Shannon

Hi Shannon,

The article mentioned only alters the database collation.  Table columns collations will not be altered.  The recommended action on the other hand uses the SQL management studio.  In our environment, we have limited privileges so I'm not able to use the SSMS.

Is there any alternative way to do this at application level?

Please advise.  Thanks!

 

Regards,

Mildred

Mildred,

Can you confirm which version of SQL it is that you are currently running?

Kind regards,

Shannon

Mildred,

Thank you for confirming.

I've consulted with my colleagues, and they confirmed that you will need to consult your database administrator to make these changes, as they are fundamental changes in the database and cannot be performed without administrator privileges.

Kind regards,

Shannon

Hi Shannon,

We're using Ms SQL 2008.  Thanks.

 

Regards,

Mildred

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 25m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

6 views 0 2
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