mysql_backup.sh: change '--max_allowed_packet' to '512M' (--max_allowed_packet=512M).
This commit is contained in:
		| @@ -1167,7 +1167,7 @@ if $ARCHIVE ;then | |||||||
|       b_timestamp=`$date +"%s"` |       b_timestamp=`$date +"%s"` | ||||||
|  |  | ||||||
|       ## - Like --opt but without --extended-insert. So  |       ## - 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 |       if [ "$i" = "information_schema" -o "$i" = "performance_schema" ];then | ||||||
|          mysqldump_flags="$mysqldump_flags --single-transaction" |          mysqldump_flags="$mysqldump_flags --single-transaction" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user