mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
tests: Can't setup replication master without replication user
This commit is contained in:
@@ -74,6 +74,10 @@ configure_replication() {
|
||||
|
||||
echo "GRANT REPLICATION SLAVE ON *.* TO '$MARIADB_REPLICATION_USER'@'%' IDENTIFIED BY '$MARIADB_REPLICATION_PASSWORD';" >> /tmp/init_mysql.sql
|
||||
echo "FLUSH PRIVILEGES ;" >> /tmp/init_mysql.sql
|
||||
else
|
||||
echo "In order to setup a replication master you need to provide the MARIADB_REPLICATION_USER as well"
|
||||
echo ""
|
||||
exit -1
|
||||
fi
|
||||
;;
|
||||
slave)
|
||||
|
||||
Reference in New Issue
Block a user