From 9a80d27b309440bed383eb03fbfcc723a70e64e2 Mon Sep 17 00:00:00 2001 From: bucde Date: Mon, 13 Sep 2021 14:27:18 +0200 Subject: [PATCH] fix: correct create_customer script --- create_customer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_customer b/create_customer index e5fc5a1..fdfc9f1 100755 --- a/create_customer +++ b/create_customer @@ -26,7 +26,7 @@ echo "CREATE DATABASE "$MARIADB_CUSTOMER_DBNAME";" >> tmp echo "GRANT ALL PRIVILEGES ON "$MARIADB_CUSTOMER_DBNAME".* To '"$MARIADB_CUSTOMER_NAME"'@'%' IDENTIFIED BY '"$MARIADB_CUSTOMER_PASSWORD"';" >> tmp echo "FLUSH PRIVILEGES;" >> tmp -cat tmp | docker exec -i postgres mysql -uroot -p$MARIADB_ROOT_PASSWORD +cat tmp | docker exec -i mariadb mysql -uroot -p$MARIADB_ROOT_PASSWORD rm -f tmp