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
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
aaaah fantastic !!
I'll take a big inpsiration from this piece of code, Przemek, thanks a lot !
regards,
J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
 
 
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.