How can I change the database connection for an existing (but moved) database?

This question is in reference to Atlassian Documentation: Migrating to an external database

We are using a database for some time now. However, our database team migrated the database to another server now, and we need to update the connection string in crucible. Where can I do that without having a migration taking place?

(We are using an oracle datbase, if that matters...)

1 answer

1 accepted

2 votes
Accepted answer

Hi Tanja,

Considering you'll be changing to an existing database already containing data, I'd recommend adjusting the connection string directly in the FISHEYE_INST/config.xml file, due to the bug https://jira.atlassian.com/browse/FE-5389 - because of this bug, if you attempt to change the database URL from the UI, it will actually override the new database with the data contained in the existing one.

Also, to make sure your DB will be in sync with the filesystem, please make sure the application is stopped and both DBs are in sync (since you mentioned this is just a migration, I suppose the DBs contain the same data, so I'm just suggesting to make sure they're in sync before adjusting the connection string).

Still, please consider taking a backup before applying the change.

Regards,

Gustavo Refosco

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

227 views 4 1
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