mysql_backup.sh: change '--max_allowed_packet' to '512M' (--max_allowed_packet=512M).

This commit is contained in:
Christoph 2023-02-23 11:17:43 +01:00
parent 35caf94c46
commit e3b3f764ac

View File

@ -1167,7 +1167,7 @@ if $ARCHIVE ;then
b_timestamp=`$date +"%s"`
## - Like --opt but without --extended-insert. So
mysqldump_flags="--protocol=SOCKET --max_allowed_packet=128M --skip-opt --add-drop-table --add-locks --create-options --quick --compress --set-charset --disable-keys --lock-tables --routines"
mysqldump_flags="--protocol=SOCKET --max_allowed_packet=512M --skip-opt --add-drop-table --add-locks --create-options --quick --compress --set-charset --disable-keys --lock-tables --routines"
if [ "$i" = "information_schema" -o "$i" = "performance_schema" ];then
mysqldump_flags="$mysqldump_flags --single-transaction"