Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you