Migrate HSQL db to Mysql

I have installed crucible 4.4.1 and mysql on my server

 

While migrating from HSQL to MySQL getting following errors:

 

Dropping existing tables...
Problem running drop script (you may have to manually drop the DB) /app/fecru-4.4.1/sql/MYSQL/schema/drop_105.sql
Database migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem running drop script (you may have to manually drop the DB) /app/fecru-4.4.1/sql/MYSQL/schema/drop_105.sql

And 

Database must be in NO_TABLES state, currently NO_DB

 

 

Can anyone please help me?

 

 

 

1 answer


Yes I am on a supported MySQL version
mysql --version
mysql Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using EditLine wrapper
Atlassian document says use these sql commands to resovle these errors


select * from cru_user_profile where CRU_user_id not in (select CRU_user_id from CRU_user);
delete from cru_user_profile where CRU_user_id not in (select CRU_user_id from CRU_user);


But not sure where is should use these commands? and anything need to be replaced in above commands?
The database connection is successful.
And also, tried below commands from command line,but did not work
./fisheyectl.sh restore --sql \
--file /app/fecrudata/backup/backup.zip \
--dbtype mysql \
--jdbcurl jdbc:mysql://localhost/cucibledb \
--username jirauser \
--password XXXXX

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

454 views 0 9
Read article

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