From ea068c235b968dc2548238d9605f36d428cb83d1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Sep 2024 16:38:05 +0200 Subject: [PATCH] Add log --- docker-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-run.sh b/docker-run.sh index 4233ad8..dc68945 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -252,6 +252,7 @@ function initializeDatabase() echo "Then we load demo data ${fileSQL} ..." >> /var/www/documents/initdb.log #sed -i 's/^--.*//g;' ${fileSQL} echo "mysql -u ${DOLI_DB_USER} -pxxxxxxx -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1" + echo "mysql -u ${DOLI_DB_USER} -pxxxxxxx -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1" >> /var/www/documents/initdb.log mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1 done fi