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.

Thanks!

Kind regards,
Daniel

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

Hi Daniel,

Thanks for reporting this issue. I've created https://jira.atlassian.com/browse/STASH-2684 for it.

Cheers,

Michael

thanks! Is everybody able to support bugs directly there?

Suggest an answer

Log in or Join to answer
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...

675 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot