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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,764 views 1 5
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