diff --git a/hosts/backup_script.sh.sample b/hosts/backup_script.sh.sample index b581f35..29020c3 100644 --- a/hosts/backup_script.sh.sample +++ b/hosts/backup_script.sh.sample @@ -154,6 +154,22 @@ mysql_password=backup ## - mysql_gzip=false +## - mysql_max_allowed_packet +## - +## - Set / Change MySQL System Variable '--max-allowed-packet' +## - +## - i.e. prevents errors like: +## - +## - When a client server receives larger packet bytes, an error occurs. The connection faces +## - ER_NET_PACKET_TOO_LARGE error a +## - nd closes instantly. +## - +## - Another error can be +## - Lost Connection to Server During Query Error. +## - It has the same reason, i.e., a large communication packet. +## - +mysql_max_allowed_packet='512M' + ## - restart apache after mysqldump ## -