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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,889 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot