Stash fails on MySQL migration if the database name has a dash in the name

Hi there,

I updated to Stash 1.2.1 recently and was reminded to migrated the database to an external one. I created my user / database and started the migration. It failed for some reason, when I checked in to the details I saw that there was a MySQL syntax error. I was looking around a bit and figured out, that this was caused by my usual naming method: custumername-application, so the name I ended up was gosi-stash for the MySQL database and this caused the queries to be put together incorrectly. Someone @atlassian might want to check this out.


Kind regards,

PS: I have already fixed that by using a database name without a dash in the name, but maybe somebody else will run into that.

1 answer

1 accepted

0 votes
Accepted answer

Hi Daniel,

Thanks for reporting this issue. I've created for it.



thanks! Is everybody able to support bugs directly there?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,905 views 7 10
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