Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jean-Sebastien (GA)
Contributor
June 20, 2014

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

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 22, 2014

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

0 votes
Jean-Sebastien (GA)
Contributor
June 22, 2014

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
TAGS
AUG Leaders

Atlassian Community Events