* filter tailing mariadb general log
@ -6,4 +6,4 @@ if [[ -z "${CONTAINER}" ]]; then
exit 1
fi
docker exec -ti ${CONTAINER} mysqldump -u root -p123456 $1 | pv > $2
docker exec -ti ${CONTAINER} mariadb-dump -u root -p123456 $1
@ -7,4 +7,4 @@ sudo truncate -s 0 $GENERAL_LOG_FILE_PATH
clear
sudo tail -f $GENERAL_LOG_FILE_PATH
sudo tail -f $GENERAL_LOG_FILE_PATH | grep -Ev "(Close|Prepare)"