All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
To switch to a MySQL Enterprise Server, install MySQL Enterprise Server and follow the steps below. Please note that during the migration of database servers, the FishEye/Crucible instance will not be available to users or to external API clients.
On this page:
Before you begin:
.jar file) from the download website and copy the .jar file to your FISHEYE_INST/lib directory (create the lib/ directory if it doesn't already exist). Move the existing JDBC .jar file to another location (and back it up). Restart FishEye/Crucible to have it pick up the new driver.
CREATE DATABASE fisheye CHARACTER SET utf8 COLLATE utf8_bin;
Server Characterset to utf8. This can be done by adding the following in my.ini for Windows or my.cnf for other operating systems (create the file at /etc/my.cnf if it doesn't already exist). It has to be declared in the Server section, which is the section after [mysqld]:
[mysqld] character-set-server=utf8
status command to verify database character encoding information.fisheye database: mysql> use fisheye;mysql> status; command:localhost), issue the following commands (replacing username and password with the appropriate values):
mysql> grant all on fisheye.* to 'username'@'localhost' identified by 'password'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.01 sec)
In order to migrate to a different database backend, you must create a backup of sql data, configure the database and finally import the data via a backup restoration process. This can be done from either the FishEye/Crucible administration console, which streamlines the process, or via the command line tool which FishEye/Crucible provides.
Database page in FishEye/Crucible's Administration console
MySQL from the database type
Test Connection to validate the values
.jar file in the classpath (by placing the .jar file in FISHEYE_INST/lib). Also, ensure that the database user can log in to the database from the machine that FishEye/Crucible is running on and that all the required privileges are present.
sql data from the FishEye/Crucible instance. Information on how to create a backup can be found at Backing Up and Restoring FishEye Data \ Backing Up and Restoring Crucible Databin directory in FISHEYE_INST
$ ./fisheyectl.sh restore --sql \
--file /path/to/backup.zip \
--dbtype mysql \
--jdbcurl jdbc:mysql://hostname/dbname \
--username crucible \
--password password
2 Comments
Dana Frost
Sept 23, 2011The last step where it tells you how to backup and restore is a bit confusing. Is this stating that you need to backup and restore data to complete the migration? Or is it just letting you know how you would do a migration and them import the data you had from a prior instance? I think this should be made more clear. For example, if this is a brand new install, you don't have any data to restore. And if it was a new install that you plan on restoring data, all you are backing up is the initial/empty fisheye config.
I am just a bit confused if the backup/restore is just informational or part of the migration (even for a new install?)
Seb Ruiz
Sept 26, 2011Hi Dana,
The backup and restore procedure from the command line is simply reference in case you would like to automate the process or would like to do the operation from the terminal. The in place data migration would be sufficient when moving to MySQL Server.