Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

3 votes
Answer accepted

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

Hi Gustavo,

there are two files named config.xml in a Fisheye installation: one in the INSTALLATION directory and another in HOME directory. To change the database URL, you must to modify the file placed in HOME, not the placed in the INSTALLATION directory as you indicated.

 

Regards.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you