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

This widget could not be displayed.


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
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 Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

215 views 3 0
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