Skip to content

Commit

Permalink
Save the load of dump load into a log file
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 3, 2024
1 parent cf4d347 commit 67bcd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/develop/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
fi
echo "Load demo data ${fileSQL} ..."
sed -i 's/--.*//g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} > /dev/null 2>&1
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} > /var/www/dev/initdemo/initdemo.log 2>&1
done
fi

Expand Down

0 comments on commit 67bcd10

Please sign in to comment.