diff --git a/bash/dump.sh b/bash/dump.sh index 8484b49..6c6254c 100755 --- a/bash/dump.sh +++ b/bash/dump.sh @@ -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 diff --git a/bash/tail-db-general-log.sh b/bash/tail-db-general-log.sh index 698e744..66b2fa5 100755 --- a/bash/tail-db-general-log.sh +++ b/bash/tail-db-general-log.sh @@ -7,4 +7,4 @@ sudo truncate -s 0 $GENERAL_LOG_FILE_PATH clear -sudo tail -f $GENERAL_LOG_FILE_PATH \ No newline at end of file +sudo tail -f $GENERAL_LOG_FILE_PATH | grep -Ev "(Close|Prepare)" \ No newline at end of file