From 11a1ef9968d325669f8f8c76d9840d94cae436c1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Sep 2024 16:49:48 +0200 Subject: [PATCH] Fix load of demo --- docker-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-run.sh b/docker-run.sh index dc68945..3907327 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -250,7 +250,7 @@ function initializeDatabase() echo "Then we load demo data ${fileSQL} ..." echo "Then we load demo data ${fileSQL} ..." >> /var/www/documents/initdb.log - #sed -i 's/^--.*//g;' ${fileSQL} + sed -i 's/\/\*!999999\\- enable the sandbox mode \*\///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