We want full compat

This commit is contained in:
Micke Nordin 2024-10-04 10:04:43 +02:00
parent 5c16a783e9
commit 8b74bd9c75

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
pw=$(yq -r '.services.db.environment[0]' /opt/mariadb/docker-compose.yml | awk -F '=' '{print $2}') 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}" "${@}"