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

howto change fisheye database name ?

Hi !

I run and administer fisheye 2.10.1. My predecessor set the database to 'fisheye_2101' ...

I am not sure it is a good thing to include version in current active database name... as database schema is going to be upgraded when fisheye gets updated so the name isn't going to reflect the schema version anymore. So before trying and upgrade, I want to revert back to more common name like 'fisheye'. Here is what I did so far:

- stopping fisheye

- copy fisheye_2101 to fisheye (using phpmyadmin)

- Now what ? Do I have to edit config.xml to change to the new database name and start fisheye ? I didn't find anything in the documentation about that.

I tried to change the database reference from the UI but can't save the settings (I can only hit "save and migrate").

Thanks !

1 answer

1 accepted

0 votes
Answer accepted

Hi Martin,

I suppose you are using Mysql (Phpmyadmin).

I think the best is to rename directly your DB and change your fisheye config file.

http://dev.mysql.com/doc/refman/5.1/en/rename-database.html

1- stop fisheye

2- rename your db

3- change the reference to the new name in server.xml

4- start fisheye

Sven.

Hi ! I'm using Mysql (I specified it in query meta words but I shoud have mentionned it in the text).

Did you edit your server.xml to point on your new DB name ? (or ROOT.xml)

N'hésites pas à me contacter !

Thank you. I have succeeded with the steps you provided, but I haven't used "RENAME" MySQL statement as warned in http://dev.mysql.com/doc/refman/5.1/en/rename-database.html(I am using an earlier version of MySQL)

I did a copy of the database instead !

yes, I have updated the file config.xml to the new database name !

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

124 views 1 2
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