From 4dd95bdb39912f90a7c1969efffa79547d1af387 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 4 Oct 2024 10:04:43 +0200 Subject: [PATCH] We want full compat --- templates/mariadb/mysql.erb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mariadb/mysql.erb.sh b/templates/mariadb/mysql.erb.sh index b62d38d..f2bc16f 100644 --- a/templates/mariadb/mysql.erb.sh +++ b/templates/mariadb/mysql.erb.sh @@ -1,4 +1,4 @@ #!/bin/bash pw=$(yq -r '.services.db.environment[0]' /opt/mariadb/docker-compose.yml | awk -F '=' '{print $2}') -docker exec -ti mariadb_db_1 mysql -u root -p"${pw}" -e "${@}" +docker exec -ti mariadb_db_1 mysql -u root -p"${pw}" "${@}"