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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,218 views 8 11
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