From 823f5325df405286024cdf2a985732baabc0981f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 21 Mar 2018 22:00:26 +0100 Subject: Add Dockerfile for simple Master/Slave replication and add more parametrization --- mysql/root-galera/usr/bin/run-mysqld-manager | 91 ++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100755 mysql/root-galera/usr/bin/run-mysqld-manager (limited to 'mysql/root-galera/usr/bin/run-mysqld-manager') diff --git a/mysql/root-galera/usr/bin/run-mysqld-manager b/mysql/root-galera/usr/bin/run-mysqld-manager new file mode 100755 index 0000000..91f3c9c --- /dev/null +++ b/mysql/root-galera/usr/bin/run-mysqld-manager @@ -0,0 +1,91 @@ +#!/bin/bash + +export TERM=xterm +function display_container_header { + echo "+=====================================================" + echo "| Container : $HOSTNAME" + echo "| OS : $(