Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,901
Community Members
 
Community Events
168
Community Groups

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 Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

179 views 1 6
Read article

Atlassian Community Events