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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 10 hours ago in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

27 views 3 4
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