how do I setup a MySQL database in the Elastic Instance ?

Since it's not in the default elastic image capabilities, could anone give some guidelines about how to manage to set up a MySql DB on an elastic agent ?

best regards,

Jess

2 answers

1 accepted

This widget could not be displayed.

Here's what we use on Amazon Linux images (Instance configuration script):

#!/bin/sh

export PATH=/sbin:/bin:/usr/sbin:/usr/bin

install()
{
yum install -y mysql55-server
service mysqld start
/usr/bin/mysqladmin -u root password ''

cat >> /home/bamboo/bamboo-capabilities.properties << EOF

custom.database.type = MySQL_55

EOF

}

install >>/tmp/startup.log 2>&1

This widget could not be displayed.

aaaah fantastic !!

I'll take a big inpsiration from this piece of code, Przemek, thanks a lot !

regards,

J

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

78 views 0 1
Join discussion

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