From b20f319d2fc51a431adc8cb75373400664726491 Mon Sep 17 00:00:00 2001 From: j38560 Date: Tue, 20 Dec 2016 08:46:34 +0000 Subject: [PATCH] Utilities are now installed for mysqldbcompare. --- bin/remote/setup_mysql.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/bin/remote/setup_mysql.sh b/bin/remote/setup_mysql.sh index 33a471d..2e3b9c5 100644 --- a/bin/remote/setup_mysql.sh +++ b/bin/remote/setup_mysql.sh @@ -1,19 +1,19 @@ -#!/bin/bash - -set -e - -apt-get update - -export DEBIAN_FRONTEND=noninteractive -echo "mysql-server mysql-server/root_password password " | debconf-set-selections -echo "mysql-server mysql-server/root_password_again password " | debconf-set-selections - -apt-get install -y -q mysql-server - -sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf - -service mysql stop -service mysql start - -mysql -u root -e "CREATE USER 'deployment'@'%' IDENTIFIED BY '';" +#!/bin/bash + +set -e + +apt-get update + +export DEBIAN_FRONTEND=noninteractive +echo "mysql-server mysql-server/root_password password " | debconf-set-selections +echo "mysql-server mysql-server/root_password_again password " | debconf-set-selections + +apt-get install -y -q mysql-server mysql-utilities + +sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf + +service mysql stop +service mysql start + +mysql -u root -e "CREATE USER 'deployment'@'%' IDENTIFIED BY '';" mysql -u root -e "GRANT ALL PRIVILEGES ON * . * TO 'deployment'@'%';" \ No newline at end of file -- GitLab