1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 09:56:01 +00:00

containers: use mariadb-admin instead of deprecated mysqladmin (#6026)

* dockerfiles: use mariadb-admin instead of deprecated mysqladmin command

* compose: bump compose tags
This commit is contained in:
Niklas Meyer
2024-08-19 11:33:28 +02:00
committed by GitHub
parent cb50d08605
commit b70bcd36fb
7 changed files with 13 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
set -e
# Wait for MySQL to warm-up
while ! mysqladmin status --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent; do
while ! mariadb-admin status --ssl=false --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent; do
echo "Waiting for database to come up..."
sleep 2
done